Hi Tony,

Thanks for your response.

But i didn't understand that .
We are using angular on keypress it will fetch data from catsAPI in the
form XML there we will get number of rows count.
with the help of tjis row count i am able to do pagination properly but due
to page reload all data  get lost :(

Thanks





On Thu, Jan 29, 2015 at 11:20 AM, Tony pee <[email protected]> wrote:

> 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 a topic in the
> Google Groups "AngularJS" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/angular/fWI8lsDxaW0/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.

Reply via email to