angularjs - Optimizing ng-repeat digest loop for iPad devices -


I have Bootstrap 3 modal in my angle app I have standard ng-repeat with around 30 rows:

  & lt; Div class = "col-md-9" & gt; & Lt; Div ng-repeat = "Table table in tables. Track by ID" & gt; & Lt; Button type = "button" class = "btn btn-primary" ng-style = "table style (table)" ng-square = "table class (n)" ng-click = "settable (table)" bo-text = "Table.name" & gt; & Lt; / Button & gt; & Lt; / Div & gt;  

When the model is loaded, first digest loop takes approximately 300 mms for the first time to load. 3 The more digested loop is said to be just about every 20 min. NG- It is super fast to comment on repeat and takes less than 100 mms. Every NG - Repeat adds, increases the time of digestion before about 100 mms.

Can anyone explain how digest works with NG-repeat? And why are the digest loops too fast?


Comments

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -