Show me the code / html that displays the items being paged. On Jan 29, 2015 10:38 PM, "Nicholas Smith" <[email protected]> wrote:
> You need to set items-per-page to 5 instead of max-size. > > See reference at: http://angular-ui.github.io/bootstrap/#/pagination > > > > On Thursday, January 29, 2015 at 6:02:57 PM UTC-6, Kristijan Pokas wrote: >> >> Hej, >> >> I've a problem with the pagination. >> I'm using the Pagination of UI.bootstrap and I have integrated the >> <pagination>-Tag in my template. >> In my controller I've defined a >> currentPage=1, >> maxSize=5 and >> totalItems=10. >> >> <pagination total-items="totalItems" ng-model="currentPage" max-size= >> "maxSize" class="pagination-sm" boundary-links="true" first-text= >> "‹‹" previous-text="‹" next-text="›" >> last-text="››" num-pages="numPages"> >> </pagination>Code hier eingeben... >> >> The list shows always all items but I want to display only 5 per page. >> And the number of pagination numbers stay always on 1. >> >> Can anyone help me with my problem? :( >> > -- > You received this message because you are subscribed to a topic in the > Google Groups "AngularJS" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/angular/zkJe4qlIjXA/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/angular. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
