DEV Community

Discussion on: Angular: When HttpInterceptor doesn’t work with lazy loaded modules

Collapse
 
jagpreetsingh83 profile image
jagpreetsingh83

I imported HttpClientModule in AppModule instead of the SharedModule and it worked for me.

Collapse
 
gidkom profile image
Gideon Kombian

this worked. thanks.

Collapse
 
_b0b1_ profile image
БоБи

Yes, that also worked for me.