javascript - Pagination in Angular UI Bootstrap -


there following code:

<pagination total-items="20" ng-model="2" items-per-page="5" data-boundary-links="true"></pagination> 

i hoped code showed me 4 pages ( 20 / 5 = 4), got 1 page in pagination. what's wrong? in advance.


Comments

Popular posts from this blog

javascript - How do I find how many occurences are there of a highlighted string, and which occurence is it? -

javascript - How to synchronize the Three.js and HTML/SVG coordinate systems (especially w.r.t. the y-axis)? -

java - Reading data from multiple zip files and combining them to one -