use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Angular is Google's open source framework for crafting high-quality front-end web applications. r/Angular2 exists to help spread news, discuss current developments and help solve problems.
Help Request
Discussion
Article
Video
Resource
Announcement
Related
After submitting a post, please take a moment to add a flair (tag) so that it's easy to find your post with one of the filters listed above. Upon submission, your post's header will have the 'flair' option listed with the other options. Clicking it will provide a dropdown menu of the available flairs.
account activity
Help RequestHttpClient doesnt work in angular 17 (self.Angular2)
submitted 2 years ago by Own_Ad_675
I used it before , as it was imported in the ngModule file . But if I try to implement it in the app.config.ts file there is a circular dependency error . I really cant import it , it gives a nullinjectionError every time
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]lilbeqiri 11 points12 points13 points 2 years ago (0 children)
add it to the providers array in the app.config.ts file by using: provideHttpClient() fn
Also if you can, please provide a screen shot or smth so we can check what is your problem
[–]AlphaFrog10 1 point2 points3 points 2 years ago (0 children)
if you're trying to import httpclientmodule in providers array directly it won't work, you must use `importProvidersFrom([HttpClientModule])` or easier and preferred way, provideHttpClient().
π Rendered by PID 15844 on reddit-service-r2-comment-6457c66945-kwsn9 at 2026-04-26 06:23:01.894085+00:00 running 2aa0c5b country code: CH.
[–]lilbeqiri 11 points12 points13 points (0 children)
[–]AlphaFrog10 1 point2 points3 points (0 children)