docs(aio): update text InMemoryWebApiModule to HttpClientInMemoryWebApiModule (#23285)

PR Close #23285
This commit is contained in:
Michael Huang 2018-04-10 23:36:28 +10:00 committed by Igor Minar
parent 993eeababb
commit f958293205
1 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ Install the *In-memory Web API* package from _npm_
npm install angular-in-memory-web-api --save npm install angular-in-memory-web-api --save
</code-example> </code-example>
Import the `InMemoryWebApiModule` and the `InMemoryDataService` class, Import the `HttpClientInMemoryWebApiModule` and the `InMemoryDataService` class,
which you will create in a moment. which you will create in a moment.
<code-example <code-example
@ -58,7 +58,7 @@ which you will create in a moment.
title="src/app/app.module.ts (In-memory Web API imports)"> title="src/app/app.module.ts (In-memory Web API imports)">
</code-example> </code-example>
Add the `InMemoryWebApiModule` to the `@NgModule.imports` array&mdash; Add the `HttpClientInMemoryWebApiModule` to the `@NgModule.imports` array&mdash;
_after importing the `HttpClient`_, _after importing the `HttpClient`_,
&mdash;while configuring it with the `InMemoryDataService`. &mdash;while configuring it with the `InMemoryDataService`.