Hi Suhas,
Aside from the answer, Zlatko provided, add an index-by, that will speed up things. Also look into using one-time bindings <https://blog.thoughtram.io/angularjs/2014/10/14/exploring-angular-1.3-one-time-bindings.html>. For the calculation of the pagination, you need to create an intermediary variable to hold the result array. Doing those 3 things, you should have more than enough speed. the var can be created like: <tr dir-paginate="user in (filteredResults = (Results| filter: vm.searchKeyword |orderBy:orderByField:vm.reverseSort )| itemsPerPage:30)" current-page="vm.current_page"> Once that is done, you can calculate the pagination by using filteredResults.length Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
