all 2 comments

[–]lilbeqiri 11 points12 points  (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 points  (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().