using foundation pagination directive

This commit is contained in:
Ivan Socolsky 2014-11-10 19:10:24 -03:00
commit 6cefd15cbd
2 changed files with 9 additions and 20 deletions

View file

@ -100,8 +100,7 @@
</div>
</div>
</div>
<button ng-click="previousPage()" ng-disabled="!hasPreviousPage()">prev</button>
<button ng-click="nextPage()" ng-disabled="!hasNextPage()">next</button>
<pagination page="currentPage" total-items="totalItems" items-per-page="itemsPerPage" on-select-page="selectPage(page)" />
</div>
</div>
</div>