Hi all, first post.

I have a bunch of GET APIs to get XML data back from. Using $http it works 
fine. I convert the XML to an object. To speed things up I store the data in 
local storage.

Then things broke.

I've used angular.from/toJson methods on the save data. On a very detailed 
console inspection, the data is identical. However when AJS loads data from 
local storage, most of the time the scope property bound in the view isn't 
updating.

Been really banging my head on this because requerying the server takes 1000% 
more time, however the data binding to the view works every time. If I load it 
from localstorage, the same identical data, the view isn't updated.

Tried $scope.$apply techniques, or just running it alone, does nothing.

Is there a secret surrounding localstorage and view binding? When I explicitly 
assign the $scope.var and console.log() dump it, the data is there. The view 
just never cares. 

Ideas? I hope this is what I expect, a simple newbie misunderstanding. Thanks!

-- 
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