chore(links): a few more bad links
This commit is contained in:
parent
87a7dfe035
commit
8c9bbde3f4
|
@ -245,7 +245,7 @@ figure.image-display
|
||||||
.callout.is-helpful
|
.callout.is-helpful
|
||||||
header Debugging with the json pipe
|
header Debugging with the json pipe
|
||||||
:marked
|
: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.
|
is an easy way to diagnosis a mysteriously failing data binding.
|
||||||
:marked
|
:marked
|
||||||
Here's the complete component implementation:
|
Here's the complete component implementation:
|
||||||
|
|
|
@ -398,7 +398,7 @@ figure.image-display
|
||||||
We're supplying two definitions:
|
We're supplying two definitions:
|
||||||
+makeExample('router/ts/app/app.component.1.ts','route-defs')(format=".")
|
+makeExample('router/ts/app/app.component.1.ts','route-defs')(format=".")
|
||||||
:marked
|
: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
|
* `path` - the URL path segment for this route
|
||||||
* `name` - the name of the route
|
* `name` - the name of the route
|
||||||
* `component` - the component associated with this route.
|
* `component` - the component associated with this route.
|
||||||
|
@ -883,8 +883,7 @@ code-example(format="").
|
||||||
## Router Lifecycle Hooks
|
## Router Lifecycle Hooks
|
||||||
|
|
||||||
Angular components have [lifecycle hooks](lifecycle-hooks.html). For example, Angular calls the hook methods of the
|
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
|
[OnInit](../api/core/OnInit-interface.html) and [OnDestroy](../api/core/OnDestroy-interface.html)
|
||||||
.html)
|
|
||||||
interfaces when it creates and destroys components.
|
interfaces when it creates and destroys components.
|
||||||
|
|
||||||
The router also has hooks for *its* lifecycle such as
|
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?
|
How do we ensure that happens if not in the constructor?
|
||||||
|
|
||||||
Angular detects when a component has certain lifecycle methods like
|
Angular detects when a component has certain lifecycle methods like
|
||||||
[ngOnInit](https://angular.io/docs/ts/latest/api/core/OnInit-interface.html) and
|
[ngOnInit](../api/core/OnInit-interface.html) and
|
||||||
[ngOnDestroy](https://angular.io/docs/ts/latest/api/common/OnDestroy-interface.html) and calls
|
[ngOnDestroy](../api/core/OnDestroy-interface.html) and calls
|
||||||
them
|
them
|
||||||
at the appropriate moment.
|
at the appropriate moment.
|
||||||
|
|
||||||
|
@ -1470,7 +1469,7 @@ code-example(format=".", language="bash").
|
||||||
|
|
||||||
.l-sub-section
|
.l-sub-section
|
||||||
:marked
|
: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.
|
in the API Guide.
|
||||||
:marked
|
:marked
|
||||||
### *HashLocationStrategy*
|
### *HashLocationStrategy*
|
||||||
|
|
Loading…
Reference in New Issue