Ah. I tend to use resources directly within my controllers, but what you’re saying makes sense.
> On Mar 30, 2015, at 1:37 PM, 'Michael Bielski' via AngularJS > <[email protected]> wrote: > > Your $resource usage should be in a factory/service, so you can declare it > globally within that service, or you can put it into another service that > houses your utility functions/variables and inject that into your other > services. > > -- > 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/gOfINt2TsW8/unsubscribe > <https://groups.google.com/d/topic/angular/gOfINt2TsW8/unsubscribe>. > To unsubscribe from this group and all its topics, send an email to > [email protected] > <mailto:[email protected]>. > To post to this group, send email to [email protected] > <mailto:[email protected]>. > Visit this group at http://groups.google.com/group/angular > <http://groups.google.com/group/angular>. > For more options, visit https://groups.google.com/d/optout > <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.
