export class InjectMetadata
export class InjectMetadata
exported from angular2/core defined in angular2/src/core/di/metadata.ts (line 1)
A parameter metadata that specifies a dependency.
Example (live demo)
When @Inject()
is not present, Injector
will use the type annotation of the parameter.
Example
Constructor
constructor(token: any)
constructor(token: any)
Not Yet Documented
Members
token
token
Not Yet Documented
toString() : string
toString() : string
Not Yet Documented