Component 1
constructor: serviceA
ei Angular,
I need access to serviceA!
Angular
here you are!
service A
[ Create component ]
Root Module
App
Injector
dependencies: serviceA(providerA), serviceB(providerB), . . .
service A
service B
Component 1
constructor: serviceA
Component 3
dependencies: serviceC(providerC)
constructor: serviceC, serviceB
Injector
service C
Component 2
constructor: serviceB