Gets an instance of the specified type from the provided injector.
Gets an instance of the specified type from the provided injector.
Fails at compile time, if the type isn't annotated with @injectable
.
the type to return an instance of
the injector to retrieve the type from
instance of the specified type provided by the injector
Supports easy, type safe injection of types annotated with
@injectable
.See example: