docs(ts/_cache): misc sync (#2971)
* docs(toh-5): backport cache change to main jade file * docs(ts/_cache): misc sync
This commit is contained in:
parent
5ea668c1da
commit
f0206cc957
|
@ -250,7 +250,7 @@ a#aot
|
|||
and returns a fully prepared instance of "A".
|
||||
|
||||
Angular provides and relies upon its own sophisticated
|
||||
[dependency injection](dependency-injection.html) system
|
||||
[dependency injection](!{docsLatest}/guide/dependency-injection.html) system
|
||||
to assemble and run applications by "injecting" application parts
|
||||
into other application parts where and when needed.
|
||||
|
||||
|
|
|
@ -91,10 +91,9 @@ block http-providers
|
|||
|
||||
block backend
|
||||
:marked
|
||||
We're importing the `InMemoryWebApiModule` and adding it to the module `imports`.
|
||||
The `InMemoryWebApiModule` replaces the default `Http` client backend —
|
||||
the supporting service that talks to the remote server —
|
||||
with an _in-memory web API alternative service_.
|
||||
Rather than require a real API server, this example simulates communication with the remote server by adding the
|
||||
<a href="https://github.com/angular/in-memory-web-api" target="_blank" title="In-memory Web API"><i>InMemoryWebApiModule</i></a>
|
||||
to the module `imports`, effectively replacing the `Http` client's XHR backend service with an in-memory alternative.
|
||||
|
||||
+makeExcerpt(_appModuleTsVsMainTs, 'in-mem-web-api', '')
|
||||
|
||||
|
|
|
@ -775,7 +775,7 @@ block heroes-component-cleanup
|
|||
:marked
|
||||
### Update the _HeroesComponent_ class.
|
||||
|
||||
The `HeroesComponent` navigates to the `HeroesDetailComponent` in response to a button click.
|
||||
The `HeroesComponent` navigates to the `HeroDetailComponent` in response to a button click.
|
||||
The button's _click_ event is bound to a `gotoDetail` method that navigates _imperatively_
|
||||
by telling the router where to go.
|
||||
|
||||
|
|
Loading…
Reference in New Issue