Question from the Angular test

What is the main purpose of the* providedIn: 'root'* property which is automatically put on each generated service?

Hard

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 2720 times
Edit
3
Community EvaluationsNo one has reviewed this question yet, be the first!