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 B
Component 3
dependencies: serviceC(providerC)
constructor: serviceC, serviceB
service C
Component 2
constructor: serviceB
By Enrique Oriol