>>>You could try:
var pagedData = angular.copy(data.slice((page - 1) * pageSize, page * pageSize));
>>>
>>>
>>This seemed to solve the problem although I'm going to get the latest ng-grid now and check the source code and apply the other suggested change rather than this one.
>>
>>Also, one extra problem - do you have the same behavior? If the original load returns 0 rows, the paging controls show up below the grid.
>
>Dunno - never tried it :-{
See my last response. I wanted to go one next step and turned out that I again broke it :( Now it doesn't work again :(
If it's not broken, fix it until it is.
My Blog