We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5de822d commit 4f2bc4dCopy full SHA for 4f2bc4d
src/material/icon/icon-registry.ts
@@ -39,9 +39,8 @@ export function getMatIconNameNotFoundError(iconName: string): Error {
39
*/
40
export function getMatIconNoHttpProviderError(): Error {
41
return Error(
42
- 'Could not find HttpClient provider for use with Angular Material icons. ' +
43
- 'Please include the HttpClientModule from @angular/common/http in your ' +
44
- 'app imports.',
+ 'Could not find HttpClient for use with Angular Material icons. ' +
+ 'Please add provideHttpClient() to your providers.',
45
);
46
}
47
0 commit comments