docs(dependency-injection.jade): fix a typo

This commit is contained in:
Shai Reznik 2015-11-02 13:21:01 +02:00 committed by Ward Bell
parent 2b4b028d73
commit 9b1f2f8239
1 changed files with 1 additions and 1 deletions

View File

@ -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)