Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(aio): update text InMemoryWebApiModule to HttpClientInMemoryWebA… #23285

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions aio/content/tutorial/toh-pt6.md
Expand Up @@ -49,7 +49,7 @@ Install the *In-memory Web API* package from _npm_
npm install angular-in-memory-web-api --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 @@ -58,7 +58,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