studiollama
studiollama

Reputation: 11

Angular2 have a way of injecting into the current Injector without creating child

I'm looking for a way to manipulate the current components Injector. I know that I can use :

constructor(private injector: Injector) { }

to get the injector, but there are no methods exposed on it that allow me to append services to the current injector rather than create a child injector. So is this just not possible or what?

Upvotes: 0

Views: 78

Answers (0)

Related Questions