Hi,
No, There was no error even if i set property {cache = true}. The data are
loading again when i was click the back button.
I did little tricky, I've stored the data in the factory and pop up that
data when the user click the back button (asked from angularjs freenode
chat).
Thanks
Sathish Thangathuri
On Tue, Aug 4, 2015 at 1:40 PM, Emmanuel DEMEY <[email protected]>
wrote:
> Hi,
>
> Do you have the error Even with the {cache: true } property of any $http
> method ?
>
> Manu
> @EmmanuelDemey
>
> 2015-08-04 7:52 GMT+02:00 Sathish Thangathurai <
> [email protected]>:
>
>> Hi All,
>>
>> I've been using ui-router module for my convenience also using hashbang
>> mode.
>>
>> Now my problem was when I click the browser back button the controller
>> for the partial page have been loading and again fetching the data from
>> server via rest API.
>>
>> So what I'm expecting is,I don't want to call server rest API when i
>> click the browser back button instead pick up from the cache.
>>
>> Any help would be very helpful for me.Please give me any hints or tips.
>>
>> Thanks
>> Sathish Thangathurai.
>>
>> --
>> 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.
>>
>
>
>
> --
> Emmanuel DEMEY
> Consultant
> Zenika
> +33 (0)6 47 47 42 02
> [email protected]
>
> - fr.linkedin.com/in/emmanueldemey/
>
>
> Twitter : @EmmanuelDemey
>
> --
> 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/AH6yhoBKrC8/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.