From 8c9bbde3f40ecdd9ca02f30dcbf4e8de089048c2 Mon Sep 17 00:00:00 2001 From: Naomi Black Date: Wed, 16 Mar 2016 21:42:55 -0700 Subject: [PATCH] chore(links): a few more bad links --- public/docs/ts/latest/guide/pipes.jade | 2 +- public/docs/ts/latest/guide/router.jade | 11 +++++------ 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/public/docs/ts/latest/guide/pipes.jade b/public/docs/ts/latest/guide/pipes.jade index 256b557695..3985acfddf 100644 --- a/public/docs/ts/latest/guide/pipes.jade +++ b/public/docs/ts/latest/guide/pipes.jade @@ -245,7 +245,7 @@ figure.image-display .callout.is-helpful header Debugging with the json pipe :marked - The [JsonPipe](https://angular.io/docs/ts/latest/api/common/JsonPipe-class.html) + The [JsonPipe](../api/common/JsonPipe-class.html) is an easy way to diagnosis a mysteriously failing data binding. :marked Here's the complete component implementation: diff --git a/public/docs/ts/latest/guide/router.jade b/public/docs/ts/latest/guide/router.jade index bc40bba813..1a243081ed 100644 --- a/public/docs/ts/latest/guide/router.jade +++ b/public/docs/ts/latest/guide/router.jade @@ -398,7 +398,7 @@ figure.image-display We're supplying two definitions: +makeExample('router/ts/app/app.component.1.ts','route-defs')(format=".") :marked - Each definition translates to a [Route](https://angular.io/docs/ts/latest/api/router/Route-class.html) which has a + Each definition translates to a [Route](../api/router/Route-class.html) which has a * `path` - the URL path segment for this route * `name` - the name of the route * `component` - the component associated with this route. @@ -883,8 +883,7 @@ code-example(format=""). ## Router Lifecycle Hooks Angular components have [lifecycle hooks](lifecycle-hooks.html). For example, Angular calls the hook methods of the - [OnInit](../api/core/OnInit-interface.html) and [OnDestroy](../api/common/OnDestroy-interface - .html) + [OnInit](../api/core/OnInit-interface.html) and [OnDestroy](../api/core/OnDestroy-interface.html) interfaces when it creates and destroys components. The router also has hooks for *its* lifecycle such as @@ -1375,8 +1374,8 @@ code-example(format="." language="bash"). How do we ensure that happens if not in the constructor? Angular detects when a component has certain lifecycle methods like - [ngOnInit](https://angular.io/docs/ts/latest/api/core/OnInit-interface.html) and - [ngOnDestroy](https://angular.io/docs/ts/latest/api/common/OnDestroy-interface.html) and calls + [ngOnInit](../api/core/OnInit-interface.html) and + [ngOnDestroy](../api/core/OnDestroy-interface.html) and calls them at the appropriate moment. @@ -1470,7 +1469,7 @@ code-example(format=".", language="bash"). .l-sub-section :marked - Learn about the [APP_BASE_HREF](https://angular.io/docs/ts/latest/api/router/APP_BASE_HREF-let.html) + Learn about the [APP_BASE_HREF](../api/router/APP_BASE_HREF-let.html) in the API Guide. :marked ### *HashLocationStrategy*