From 9b1f2f8239e0ba98a175f6c9ad609cf8b3276610 Mon Sep 17 00:00:00 2001 From: Shai Reznik Date: Mon, 2 Nov 2015 13:21:01 +0200 Subject: [PATCH] docs(dependency-injection.jade): fix a typo --- public/docs/ts/latest/guide/dependency-injection.jade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/docs/ts/latest/guide/dependency-injection.jade b/public/docs/ts/latest/guide/dependency-injection.jade index 4493e9ed43..7732ebb023 100644 --- a/public/docs/ts/latest/guide/dependency-injection.jade +++ b/public/docs/ts/latest/guide/dependency-injection.jade @@ -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)