angularJS ng-bind with the {} {} difference value

Original link: https://www.mk2048.com/blog/blog.php?id=h022j1jcbiib&title=angularJS%E4%B9%8Bng-bind%E4%B8%8E%7B%7B%7D%7D%E5%8F % 96% E5% 80% BC % E7% 9A% 84% E5% 8C% BA% E5% 88% AB

 

1: {{}} page is finished loading and the like, and then the value.

2: ng-bind it when the page is loaded, is not displayed {{name}} out of this variable.

3: ng-bind can resolve ng flicker page loading problems.

4: ng-bind bind only a single variable, but {{}} This method can be bound to a plurality of variables.


More professional front-end knowledge, make the [2048] ape www.mk2048.com

Guess you like

Origin blog.csdn.net/mabeizui9231/article/details/102760028