Medium
Besides allowing the registration of the provider, what is the main purpose of the* providedIn: 'root'* property which is automatically put on each generated service?
Author: Emmanuel DemeyStatus: PublishedQuestion passed 2650 times
Edit
Similar QuestionsMore questions about Angular
26
Create a form with two mandatory fields in Angular13
Which of these methods, allowing to create Providers, does not exist in Angular?12
Which provider is recommended for DOM manipulation in Angular?8
Write a pipe to format a date according to a certain pattern.5
Unsubscribe from an Observable in Angular