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:
Patrice Chalin 2016-12-14 08:46:16 -08:00 committed by Kathy Walrath
parent 5ea668c1da
commit f0206cc957
3 changed files with 5 additions and 6 deletions

View File

@ -250,7 +250,7 @@ a#aot
and returns a fully prepared instance of "A". and returns a fully prepared instance of "A".
Angular provides and relies upon its own sophisticated 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 to assemble and run applications by "injecting" application parts
into other application parts where and when needed. into other application parts where and when needed.

View File

@ -91,10 +91,9 @@ block http-providers
block backend block backend
:marked :marked
We're importing the `InMemoryWebApiModule` and adding it to the module `imports`. Rather than require a real API server, this example simulates communication with the remote server by adding the
The `InMemoryWebApiModule` replaces the default `Http` client backend &mdash; <a href="https://github.com/angular/in-memory-web-api" target="_blank" title="In-memory Web API"><i>InMemoryWebApiModule</i></a>
the supporting service that talks to the remote server &mdash; to the module `imports`, effectively replacing the `Http` client's XHR backend service with an in-memory alternative.
with an _in-memory web API alternative service_.
+makeExcerpt(_appModuleTsVsMainTs, 'in-mem-web-api', '') +makeExcerpt(_appModuleTsVsMainTs, 'in-mem-web-api', '')

View File

@ -775,7 +775,7 @@ block heroes-component-cleanup
:marked :marked
### Update the _HeroesComponent_ class. ### 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_ The button's _click_ event is bound to a `gotoDetail` method that navigates _imperatively_
by telling the router where to go. by telling the router where to go.