Skip to content

Commit

Permalink
docs(aio): update text InMemoryWebApiModule to HttpClientInMemoryWebA…
Browse files Browse the repository at this point in the history
…piModule (#23285)

PR Close #23285
  • Loading branch information
michaelkdh authored and IgorMinar committed Apr 13, 2018
1 parent dabc076 commit 47229fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aio/content/tutorial/toh-pt6.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Install the *In-memory Web API* package from _npm_.
npm install angular-in-memory-web-api@0.5 --save
</code-example>

Import the `InMemoryWebApiModule` and the `InMemoryDataService` class,
Import the `HttpClientInMemoryWebApiModule` and the `InMemoryDataService` class,
which you will create in a moment.

<code-example
Expand All @@ -60,7 +60,7 @@ which you will create in a moment.
title="src/app/app.module.ts (In-memory Web API imports)">
</code-example>

Add the `InMemoryWebApiModule` to the `@NgModule.imports` array&mdash;
Add the `HttpClientInMemoryWebApiModule` to the `@NgModule.imports` array&mdash;
_after importing the `HttpClient`_,
&mdash;while configuring it with the `InMemoryDataService`.

Expand Down

0 comments on commit 47229fa

Please sign in to comment.