p.location-badge.
exported from angular2/di_annotations
defined in angular2/src/di/annotations.js (line 55)
:markdown
A parameter annotation that creates a synchronous lazy dependency.
```
class AComponent {
constructor(@InjectLazy(MyService) aServiceFn:Function) {
var aService:MyService = aServiceFn();
}
}
```
.l-main-section
h2 Members
.l-sub-section
h3 constructor
pre.prettyprint
code.
constructor(token)
:markdown
.l-sub-section
h3 token
:markdown