From 347c79c5146af490ab94db318e8541e850c6bd13 Mon Sep 17 00:00:00 2001 From: Brady Potaczek Date: Mon, 30 Nov 2015 15:09:57 -0600 Subject: [PATCH] docs: dependency-injection.jade Fix absolute path to relative path closes #419 --- public/docs/ts/latest/guide/dependency-injection.jade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/docs/ts/latest/guide/dependency-injection.jade b/public/docs/ts/latest/guide/dependency-injection.jade index 43fc07a7e3..056d79ebe6 100644 --- a/public/docs/ts/latest/guide/dependency-injection.jade +++ b/public/docs/ts/latest/guide/dependency-injection.jade @@ -388,7 +388,7 @@ include ../../../../_includes/_util-fns [provide(HeroService, {useClass:HeroService})]; ``` and the `provide` method in turn creates a new instance of the Angular - [Provider class](http://localhost:3000/docs/ts/latest/api/core/Provider-class.html): + [Provider class](/docs/ts/latest/api/core/Provider-class.html): ``` [new Provider(HeroService, {useClass:HeroService})] ``` @@ -521,7 +521,7 @@ include ../../../../_includes/_util-fns This time we don't have a class to serve as a token. There is no `Config` class. Fortunately, the token can be a string, a class type, or an - [OpaqueToken](http://localhost:3000/docs/ts/latest/api/core/OpaqueToken-class.html). + [OpaqueToken](/docs/ts/latest/api/core/OpaqueToken-class.html). Internally, the `Provider` turns the string and class parameter into an `OpaqueToken`; the injector locates dependency values and providers by this token.