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.