Server side paging based on ng-grid.