injector property

Injector get injector

The injector on which the component instance exists.

Implementation

Injector get injector => _hostView.injector(0);