Paging based on ng-grid