{"action":"created","issue":{"url":"https://api.github.com/repos/esvit/ng-table/issues/581","labels_url":"https://api.github.com/repos/esvit/ng-table/issues/581/labels{/name}","comments_url":"https://api.github.com/repos/esvit/ng-table/issues/581/comments","events_url":"https://api.github.com/repos/esvit/ng-table/issues/581/events","html_url":"https://github.com/esvit/ng-table/issues/581","id":64009674,"number":581,"title":"Ajax get data(+ server side pagination) problem","user":{"login":"RomeroDiver","id":6566831,"avatar_url":"https://avatars.githubusercontent.com/u/6566831?v=3","gravatar_id":"","url":"https://api.github.com/users/RomeroDiver","html_url":"https://github.com/RomeroDiver","followers_url":"https://api.github.com/users/RomeroDiver/followers","following_url":"https://api.github.com/users/RomeroDiver/following{/other_user}","gists_url":"https://api.github.com/users/RomeroDiver/gists{/gist_id}","starred_url":"https://api.github.com/users/RomeroDiver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RomeroDiver/subscriptions","organizations_url":"https://api.github.com/users/RomeroDiver/orgs","repos_url":"https://api.github.com/users/RomeroDiver/repos","events_url":"https://api.github.com/users/RomeroDiver/events{/privacy}","received_events_url":"https://api.github.com/users/RomeroDiver/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-24T14:30:30Z","updated_at":"2015-06-08T21:13:40Z","closed_at":null,"body":"Hi,\r\nI have a problem with server side pagination. I am loading paged data from server. The data loads correct, however the display of the data is strange:\r\ne.g. when I move from page 1 to page 2, I can see the data from page one on the bottom of the list  for a brief moment, than it disappears. On the example there is no such behavior, and I cannot find what is wrong with my code.\r\nSO here is my Controller: \r\n```javascript\r\nangular\r\n\t\t.module('ttUserList')\r\n\t\t.controller('UserListController', userListController);\r\n\r\n\tuserListController.$inject = ['ngTableParams', 'UserList'];\r\n\r\n\tfunction userListController(ngTableParams, UserList) {\r\n\t\tvar vm = this;\r\n\t\tvar USERS_PER_PAGE = 10;\r\n\r\n\t\tvm.tableParams;\r\n\t\tvm.getData = getData;\r\n\t\tactivate();\r\n\r\n\t\tfunction activate() {\r\n\t\t\tvm.tableParams = new ngTableParams({\r\n\t\t\t\tpage: 1,\r\n\t\t\t\tcount: USERS_PER_PAGE,\r\n\t\t\t\tsorting: {\r\n\t\t\t\t\tname: 'asc' //initial sorting\r\n\t\t\t\t}\r\n\t\t\t}, {\r\n\t\t\t\ttotal: 0,\r\n\t\t\t\tgetData: getData\r\n\t\t\t})\r\n\t\t}\r\n\r\n\t\tfunction getData($defer, params) {\r\n\t\t\tUserList.getUsersPage(params.url()).then(function (users) {\r\n\t\t\t\tparams.total(users.total);\r\n\t\t\t\t$defer.resolve(users.list);\r\n\t\t\t});\r\n\t\t}\r\n\t}\r\n```\r\nHtml is very simple:\r\n```html\r\n\t<table data-ng-table=\"userList.tableParams\"  data-show-filter=\"true\" class=\"bordered responsive-table hoverable\">\r\n\t\t<tbody>\r\n\t\t\t<tr data-ng-repeat=\"user in $data\">\r\n\t\t\t\t<td data-title=\"'Name'\" data-sortable=\"'name'\"\r\n\t\t\t\t\tfilter=\"{ 'name,surname': 'text' }\">{{user.name}} {{user.surname}}</td>\r\n\t\t\t\t<td data-title=\"'Login'\" data-sortable=\"'login'\"\r\n\t\t\t\t\tfilter=\"{ 'login': 'text' }\">{{user.login}}</td>\r\n\t\t\t\t<td data-title=\"'Location'\" data-sortable=\"'location'\"\r\n\t\t\t\t\tfilter=\"{ 'location': 'text' }\">{{user.location}}</td>\r\n\t\t\t\t<td data-title=\"'Details'\">\r\n\t\t\t\t\t<md-button class=\"md-raised md-primary\" data-ui-sref=\"users.details({id: user.id})\" data-translate>DETAILS</md-button>\r\n\t\t\t\t</td>\r\n\t\t\t</tr>\r\n\t\t</tbody>\r\n\t</table>\r\n```\r\n\r\nThe data that comes from the service is correct. Does anyone see any problem here?"},"comment":{"url":"https://api.github.com/repos/esvit/ng-table/issues/comments/110142174","html_url":"https://github.com/esvit/ng-table/issues/581#issuecomment-110142174","issue_url":"https://api.github.com/repos/esvit/ng-table/issues/581","id":110142174,"user":{"login":"carlosCeron","id":2660128,"avatar_url":"https://avatars.githubusercontent.com/u/2660128?v=3","gravatar_id":"","url":"https://api.github.com/users/carlosCeron","html_url":"https://github.com/carlosCeron","followers_url":"https://api.github.com/users/carlosCeron/followers","following_url":"https://api.github.com/users/carlosCeron/following{/other_user}","gists_url":"https://api.github.com/users/carlosCeron/gists{/gist_id}","starred_url":"https://api.github.com/users/carlosCeron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carlosCeron/subscriptions","organizations_url":"https://api.github.com/users/carlosCeron/orgs","repos_url":"https://api.github.com/users/carlosCeron/repos","events_url":"https://api.github.com/users/carlosCeron/events{/privacy}","received_events_url":"https://api.github.com/users/carlosCeron/received_events","type":"User","site_admin":false},"created_at":"2015-06-08T21:13:40Z","updated_at":"2015-06-08T21:13:40Z","body":"i have the same problem, the first time load perfect, but when send the request to server using pagination Not show data, but the data come from server correctly, only ng-table no show data, please help with this issue Thanks."}}