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 2964 times
Edit
3
Community EvaluationsNo one has reviewed this question yet, be the first!
7
How to make a child component communicate with its parent component in Angular?5
Get a path parameter from the current url in Angular14
Which of these methods, allowing to create Providers, does not exist in Angular?8
Write a pipe to format a date according to a certain pattern.29
Create a form with two mandatory fields in Angular16
Which provider is recommended for DOM manipulation in Angular?6
Unsubscribe from an Observable in Angular