The following is an illustration of how providers act through the angular application, or the components tree.
You can control their action scope by using
viewProviders so that multiple sibling components share the same instance of that provider.
I’m often seeing people having trouble managing angular dependency injection, minification, templates etc. I never had such issues, because my gulp-based workflow already handles everything for me.…