Organizational Research By

Surprising Reserch Topic

Experts Most Trusted Topic


angularjs why ng bind is better than in angular


angularjs why ng bind is better than in angular  using -'javascript,angularjs,ng-bind'

I was in one of the angular presentation and one of the person in the meeting mentioned ng-bind is better than {{}} binding.

One of the reason, ng-bind put the variable in the watch list and only when there is a model change the data get pushed to view, on the other hand, {{}} will interpolate the expression every time (I guess it is the angular cycle) and push the value, even if the value changed or not.

Also it is said that, if you have not much data in on the screen you can use {{}} and the performance issue will not be visible. Can someone shed some light on this issue for me?
    

asked Oct 11, 2015 by android_master
0 votes
1 view



Related Hot Questions



Government Jobs Opening


...