Pagination for AngularJS.