Karthikeyan K

Karthikeyan K

  • NA
  • 5.5k
  • 1.4m

Angular 7 Service

Jan 3 2019 3:11 AM
Hi All,
 
Any one can explain why my service instance is created only once ,  i have implemented eagar and lazy loading with netesd routing , i have injected the service all the components but still its taking the same instance .  i have given my stackblitz link below  kindly anyone have a look .
 
i want to check why lazy-loaded module taking same service instance.
https://stackblitz.com/edit/angular-drtk4e 

Answers (6)