Thank you Sander, that for sure helps my understanding better about DI(behavior) and opens up other ways to solve it then.
Cheers, Jamie On Wednesday, October 18, 2017 at 10:47:29 PM UTC-4, Sander Elias wrote: > > Hi Jamie, > > Services are instantiated by the DI upon first use. > If you use DI to inject the authservice anywhere, it will get instantiated > once. From then on, you will reuse the same instance of the service over > and over again. > > Regards > Sander > -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" 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 https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
