Hey everyone,

I think I have run into a snag and wanted to see if anyone can confirm my 
assumptions?

I'm using ng-resource to load a REST api resource. I have a 1 view and 1 
controller, is it possible to load the 2 different resources against one 
view and one controller? Or do I need to separate it out? I have a feeling 
it's getting cached and I can only see the first API getting loaded against 
both the view. Im using routes to switch the view based on a hash parameter.

It feels like it should work - but I have a feeling the cache is kicking in 
and I cant switch the resource within the same $scope.

Is that correct?

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