This repository was archived by the owner on Dec 4, 2017. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -250,7 +250,7 @@ a#aot
250
250
and returns a fully prepared instance of "A".
251
251
252
252
Angular provides and relies upon its own sophisticated
253
- [dependency injection](dependency-injection.html) system
253
+ [dependency injection](!{docsLatest}/guide/ dependency-injection.html) system
254
254
to assemble and run applications by "injecting" application parts
255
255
into other application parts where and when needed.
256
256
Original file line number Diff line number Diff line change @@ -91,10 +91,9 @@ block http-providers
91
91
92
92
block backend
93
93
:marked
94
- We're importing the `InMemoryWebApiModule` and adding it to the module `imports`.
95
- The `InMemoryWebApiModule` replaces the default `Http` client backend —
96
- the supporting service that talks to the remote server —
97
- with an _in-memory web API alternative service_.
94
+ Rather than require a real API server, this example simulates communication with the remote server by adding the
95
+ <a href="https://github.com/angular/in-memory-web-api" target="_blank" title="In-memory Web API"><i>InMemoryWebApiModule</i></a>
96
+ to the module `imports`, effectively replacing the `Http` client's XHR backend service with an in-memory alternative.
98
97
99
98
+ makeExcerpt(_appModuleTsVsMainTs, 'in-mem-web-api' , '' )
100
99
Original file line number Diff line number Diff line change @@ -775,7 +775,7 @@ block heroes-component-cleanup
775
775
:marked
776
776
### Update the _HeroesComponent_ class.
777
777
778
- The `HeroesComponent` navigates to the `HeroesDetailComponent ` in response to a button click.
778
+ The `HeroesComponent` navigates to the `HeroDetailComponent ` in response to a button click.
779
779
The button's _click_ event is bound to a `gotoDetail` method that navigates _imperatively_
780
780
by telling the router where to go.
781
781
You can’t perform that action at this time.
0 commit comments