chore(links): a few more bad links

This commit is contained in:
Naomi Black 2016-03-16 21:42:55 -07:00
parent 87a7dfe035
commit 8c9bbde3f4
2 changed files with 6 additions and 7 deletions

View File

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

View File

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