ng-repeat with multiple filters on large data set

前端 未结 5 1530
無奈伤痛
無奈伤痛 2020-12-13 12:49

I\'m still new to AngularJS, so I\'m just trying to do a simple CRUD app. Currently I pull the data (in a JSON file) with $http in a div handled by

5条回答
  •  长情又很酷
    2020-12-13 13:17

    I'd handle pagination in the controller or server-side. My guess is that ng-repeat is watching your entire list instead of just what it needs to watch, which is going to be very slow.

提交回复
热议问题