Kendo grid paging not initialized properly (NaN - NaN)

angularjs, kendo-grid

Solution

You have to set the pagesize for the grid

dataSource: { data: $scope.people, pageSize: 10 },

Problem

Here is the running example http://dojo.telerik.com/exok/12 It's basically Kendo grid with Angular. Datasource as ObservableArray (this works better than just DataSource). The problem is that current page is not set, and the footer displays NaN - NaN of 3 items. How can I fix it? Thanks

Original source