My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

In angular, whenever I create a service and use it multiple components using dependency injection. Does service instantiated every time I use in multiple component?

Techesuraj's photo
Techesuraj
·Apr 30, 2018

If you use providers in service it will instantiate everytime when component get loaded, but if I use it in app.module, does service get instantiate everytime when component uses?