Hi Sander, Thanks for the advice. From my experience so far with Angular that seems pretty accurate.
My particular challenge here though is that services are singletons. In the case I need to create two instances of the same service. On Thursday, May 8, 2014 10:49:18 AM UTC+3, Sander Elias wrote: > > Hi Hillel, > > Most of the times the answer will be, in a service. Then the preservation > of the state becomes a responsibility of that service. > Depending on your application and wishes, the service might use just > memory, or localStorage or even server-side solutions. > > Regards > Sander > > -- 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.
