On 18/03/2014 08:30, Deeksha Sharma wrote: > Hello Everyone, > > I am trying to implement pagination but unable to do this .Can anybody > give me a good link for understanding the concept of pagination in > angularjs. > > > Thanks in advance. >
Hi, you should use angular-ui pagination directive ( http://angular-ui.github.io/bootstrap/#/pagination ) At this point, pagination can be server-side or client-side. It is client-side when all the data are loaded in the client and the client paginate from there. It is server-side when the client queries only the needed data for the selected page. I have done something on that on my PoC Play/Angular. Demo is here : http://poc-angular-frontend.herokuapp.com (you may need to reload website (F5) after trying to login because of heroku proc sleeping) Login, then go to "recherches" then to "départements" and you will have a pagination demo. Backend source code is here : https://github.com/MarcLoupias/poc-play-rest-backend Frontend source code is here : https://github.com/MarcLoupias/poc-angular-frontend Marc. -- 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.
