mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
docs: Indicate HttpClientModule being imported (#41749)
PR Close #41749
This commit is contained in:
parent
097fdffc91
commit
49fae1f81d
1 changed files with 1 additions and 1 deletions
|
|
@ -22,7 +22,7 @@ Make `HttpClient` available everywhere in the application in two steps. First, a
|
|||
<code-example path="toh-pt6/src/app/app.module.ts" region="import-http-client" header="src/app/app.module.ts (HttpClientModule import)">
|
||||
</code-example>
|
||||
|
||||
Next, still in the `AppModule`, add `HttpClient` to the `imports` array:
|
||||
Next, still in the `AppModule`, add `HttpClientModule` to the `imports` array:
|
||||
|
||||
<code-example path="toh-pt6/src/app/app.module.ts" region="import-httpclientmodule" header="src/app/app.module.ts (imports array excerpt)">
|
||||
</code-example>
|
||||
|
|
|
|||
Loading…
Reference in a new issue