Monday, 26 August 2013

Angularjs on click refresh view to get latest json data.

Angularjs on click refresh view to get latest json data.

I am using Angularjs and I need to refresh a view only not whole page. How
can i do this using Angularjs.
I have used $http service to get a data from json file and that's why I
need to refresh view to get latest values from json.
Currently if I changed any value in json file it's not reflecting on a
page when I refresh page. every time I need to clear cache to view latest
value.

No comments:

Post a Comment