{"action":"created","issue":{"url":"https://api.github.com/repos/OtwartaPlatformaWyborcza/OPW-client-AngularJS/issues/2","labels_url":"https://api.github.com/repos/OtwartaPlatformaWyborcza/OPW-client-AngularJS/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/OtwartaPlatformaWyborcza/OPW-client-AngularJS/issues/2/comments","events_url":"https://api.github.com/repos/OtwartaPlatformaWyborcza/OPW-client-AngularJS/issues/2/events","html_url":"https://github.com/OtwartaPlatformaWyborcza/OPW-client-AngularJS/issues/2","id":72490294,"number":2,"title":"next page pagination within Obwodowa works when inactive","user":{"login":"adamkowalewski","id":4206319,"avatar_url":"https://avatars.githubusercontent.com/u/4206319?v=3","gravatar_id":"","url":"https://api.github.com/users/adamkowalewski","html_url":"https://github.com/adamkowalewski","followers_url":"https://api.github.com/users/adamkowalewski/followers","following_url":"https://api.github.com/users/adamkowalewski/following{/other_user}","gists_url":"https://api.github.com/users/adamkowalewski/gists{/gist_id}","starred_url":"https://api.github.com/users/adamkowalewski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamkowalewski/subscriptions","organizations_url":"https://api.github.com/users/adamkowalewski/orgs","repos_url":"https://api.github.com/users/adamkowalewski/repos","events_url":"https://api.github.com/users/adamkowalewski/events{/privacy}","received_events_url":"https://api.github.com/users/adamkowalewski/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/OtwartaPlatformaWyborcza/OPW-client-AngularJS/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-01T18:23:48Z","updated_at":"2015-05-02T13:15:25Z","closed_at":"2015-05-01T21:40:06Z","body":"Login, user has only 4 Komisja Obwodowa, pagination bar shows only 1 page, button next still works, \r\nit is possible to navigate to page 2 when only 1 page was generated"},"comment":{"url":"https://api.github.com/repos/OtwartaPlatformaWyborcza/OPW-client-AngularJS/issues/comments/98356379","html_url":"https://github.com/OtwartaPlatformaWyborcza/OPW-client-AngularJS/issues/2#issuecomment-98356379","issue_url":"https://api.github.com/repos/OtwartaPlatformaWyborcza/OPW-client-AngularJS/issues/2","id":98356379,"user":{"login":"marcintokarski","id":9448967,"avatar_url":"https://avatars.githubusercontent.com/u/9448967?v=3","gravatar_id":"","url":"https://api.github.com/users/marcintokarski","html_url":"https://github.com/marcintokarski","followers_url":"https://api.github.com/users/marcintokarski/followers","following_url":"https://api.github.com/users/marcintokarski/following{/other_user}","gists_url":"https://api.github.com/users/marcintokarski/gists{/gist_id}","starred_url":"https://api.github.com/users/marcintokarski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcintokarski/subscriptions","organizations_url":"https://api.github.com/users/marcintokarski/orgs","repos_url":"https://api.github.com/users/marcintokarski/repos","events_url":"https://api.github.com/users/marcintokarski/events{/privacy}","received_events_url":"https://api.github.com/users/marcintokarski/received_events","type":"User","site_admin":false},"created_at":"2015-05-02T13:15:25Z","updated_at":"2015-05-02T13:15:25Z","body":"Karol,  we must return '#' only for next or prev button. For numbered button we must return url with page number. I fix this bug by use the same condition which you but to hide next or prev button in directive view."}}