ng-repeat execute many times

后端 未结 1 703
我在风中等你
我在风中等你 2020-12-11 12:24

I have a little demo on jsfiddle :

HTML:


{{usr.Name}} : {{usr.Checke         


        
相关标签:
1条回答
  • 2020-12-11 12:48

    That's because angular runs $digest and updates all the scope properties even if one variable in the scope changes. It is called "dirty checking".

    Learn more about how angular works: http://www.sitepoint.com/understanding-angulars-apply-digest/

    0 讨论(0)
提交回复
热议问题