Dear savvies concerning XHR in Angular.

I have a big trouble with getting the data returned into a property of a 
factory. I know the data unwraps only in the callback function and in the 
view (via ng-repeat).
My burning need is to load the JSON as a string in a factory property in 
order to make it available across application controllers and whatnot.

I have been going in circles with this for quite some time to no avail. 

Please, extend a helping hand.

A very small scenario here: http://plnkr.co/edit/YEigOGHm5pbPAVhlQSwt?p=preview 

I know is a controller, but I need to load the JSON to $scope.test.

(P.S. I'm going slightly mad over this)

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