providedIn option determines which injectors will provide the injectable:
'root': The application-level injector in most apps (default option)
'platform': A special singleton platform injector shared by all applications on the page (in case if you have more than one).
'any': Provides a unique instance in each lazy-loaded module while all eagerly loaded modules share one instance.
Official docs:
https://angular.io/api/core/Injectable
Code: https://github.com/stevermeister/Angu...
Angular Pro Screencasts Roadmap - https://github.com/stevermeister/Angu...
If you have any question or suggestion please put a comment, or ping me on Twitter - / stevermeister