components icon indicating copy to clipboard operation
components copied to clipboard

Material Icon: Could not find Http provider...

Open igsm opened this issue 9 years ago • 2 comments

I follow the documentation on Material Icons and try to implement SVG icons inside of the component, but I constantly get the following error: ERROR Error: Could not find Http provider for use with Angular Material icons. Please include the HttpModule from @angular/http in your app imports..

What else am I missing? Why does it also ask for HttpModule and not HttpClientModule then, as I use Angular's latest version?

igsm avatar Nov 16 '17 20:11 igsm

Apologies for a silly post. I actually had previous version of Angular Material, which does not fit into Angular 5.

igsm avatar Nov 16 '17 21:11 igsm

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.