docs(angular): add setting up http client content (#6525)

pull/6536/head
J. Degand 3 months ago committed by GitHub
parent fad50453bc
commit b6839e29af
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 7
      src/data/roadmaps/angular/content/setting-up-the-client@AKPhbg10xXjccO7UBh5eJ.md

@ -1 +1,8 @@
# Setting Up the Client
Before you can use `HttpClient` in your app, you must configure it using dependency injection. `HttpClient` is provided using the `provideHttpClient` helper function, which most apps include in the application providers in `app.config.ts`. If your app is using NgModule-based bootstrap instead, you can include `provideHttpClient` in the providers of your app's `NgModule`.
Visit the following resources to learn more:
- [@official@Angular Official Docs - Setting up HttpClient](https://angular.dev/guide/http/setup)
- [@video@Setting up HttpClient in Angular (NgModule)](https://www.youtube.com/watch?v=hBFtim1vO3M)
Loading…
Cancel
Save