AngularJS improve ng-repeat performance with out pagination -


i'm getting around 1000 records api. want show in ui without pagination(we having other issues @ moment). i'm loading records in html using ng-repeat. ng-repeat taking lot of time rendering page.i'm using 'track id' also.

how can improve ng-repeat performance? options?

if you're not going use pagination, should consider 1 time binding (see "one-time binding" section in https://docs.angularjs.org/guide/expression), or if doesn't suit needs, can try https://github.com/kasperlewau/angular-bind-notifier

however, still take time render, should consider simulating infinite scroll using limitto filter , increasing value scroll down. if want display 1000 items @ once, slow, no matter how optimised.


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -