johnpapa/ng-demos — pull request #42 by biapat (2014-12-10 10:01:57+00:00)
Title: fix for paging, related issue #34

I noticed that there is a small bug related pageCount.
If you have 5 of 5 records (if pageSize = 5), Paging directive generates wrong information: 1 of 2 pages, but we still should have one page.