Difference between ng-bind and interpolation {{}} in Angular

后端 未结 9 1361
独厮守ぢ
独厮守ぢ 2020-12-03 02:05

Is there any difference between {{ }} and ng-bind in angular.

I am quite new to Angular. I started with using {{ }} and then in the documentation i find ng-bind. I

9条回答
  •  暖寄归人
    2020-12-03 02:45

    {{ }} can flash when the page is loading, ng-bind hides the expression properly until it is displayed correctly.

提交回复
热议问题