We always use ng-repeat to populate a list in our hybrid apps Which is not a good idea.
If list size is very large then we should use collection-repeat instead of ng-repeat.
This will drastically improve the performance of your list. The idea behind collection-repeat is that It will contain the html elements in DOM what you seeing actually.
If list size is very large then we should use collection-repeat instead of ng-repeat.
This will drastically improve the performance of your list. The idea behind collection-repeat is that It will contain the html elements in DOM what you seeing actually.
No comments:
Post a Comment