docs(dependency-injection.jade): fix a typo
This commit is contained in:
parent
2b4b028d73
commit
9b1f2f8239
|
@ -545,7 +545,7 @@ include ../../../../_includes/_util-fns
|
|||
That's not going to work. There is no type called `config` and we didn't register the `config` object under that name anyway.
|
||||
We'll need a little help from another Angular decorator called `@Inject`.
|
||||
```
|
||||
import {Inject} from 'angular2/angulare2'
|
||||
import {Inject} from 'angular2/angular2'
|
||||
|
||||
constructor(heroService: HeroService, @Inject('app.config') config)
|
||||
|
||||
|
|
Loading…
Reference in New Issue