From b6839e29afcc19b97beb63b3978a8b99cb6df11e Mon Sep 17 00:00:00 2001 From: "J. Degand" <70610011+jdegand@users.noreply.github.com> Date: Tue, 13 Aug 2024 04:07:21 -0400 Subject: [PATCH] docs(angular): add setting up http client content (#6525) --- .../setting-up-the-client@AKPhbg10xXjccO7UBh5eJ.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/data/roadmaps/angular/content/setting-up-the-client@AKPhbg10xXjccO7UBh5eJ.md b/src/data/roadmaps/angular/content/setting-up-the-client@AKPhbg10xXjccO7UBh5eJ.md index 8cdea04b5..69da6d7b9 100644 --- a/src/data/roadmaps/angular/content/setting-up-the-client@AKPhbg10xXjccO7UBh5eJ.md +++ b/src/data/roadmaps/angular/content/setting-up-the-client@AKPhbg10xXjccO7UBh5eJ.md @@ -1 +1,8 @@ -# Setting Up the Client \ No newline at end of file +# 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) \ No newline at end of file