To load in data in angular, you often use XHR requests. This means that you make a request for the data without reloading the page. If you reload the page, all of your application will need to start again.
look at https://docs.angularjs.org/api/ng/service/$http So, you will set up an endpoint which can serve different pages of data, and then based on interacting with your application (single page angular app) the load in the data, and display it. On 28 January 2015 at 21:19, Prateeksha Tiwari <[email protected]> wrote: > Hi, > > I am getting response from API onkeypress. > I am not able to add pagination using Angular.Because due to page reload > all data get dismiss. > I am using pagination in PHP but onclick page get reload . > > Can anybody tell me how to do pagination using Angular JS. > > Thank you. > > > -- > 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. > -- Tony Polinelli -- 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.
