Configures the Injector to return an instance of a token.
Injector
"Dependency Injection Guide".
@Injectable(SomeModule, {deps: []})class MyService {} Copy
@Injectable(SomeModule, {deps: []})class MyService {}
Optional
A list of tokens to be resolved by the injector.
token
Generated using TypeDoc
Configures the
Injector
to return an instance of a token.See
"Dependency Injection Guide".
Usage Notes
Public Api