angular中定义全局变量及全局变量的使用

一个例子,定义了两个变量,并且把变量显示出来:





interval



{{text1}}
{{text2}}

 

转载于:https://www.cnblogs.com/modou/p/5865159.html

你可能感兴趣的:(angular中定义全局变量及全局变量的使用)