Open jqr91 opened 2 years ago
"angular-playground": "^10.0.1"
Angular CLI: 14.0.3 Node: 16.13.2 Package Manager: npm 8.3.0 OS: darwin x64 Angular: 14.0.3 ... animations, cdk, cli, common, compiler, compiler-cli, core ... forms, material, platform-browser, platform-browser-dynamic ... router Package Version --------------------------------------------------------- @angular-devkit/architect 0.1400.3 @angular-devkit/build-angular 14.0.3 @angular-devkit/core 14.0.3 @angular-devkit/schematics 14.0.3 @schematics/angular 14.0.3 rxjs 7.5.5 typescript 4.7.4
When the fake icon registry is loaded into the app.component like this:
constructor(private iconService: IconService) { this.iconService.registerIcon(); }
and the iconService like this:
public registerIcon() { this.iconRegistry.setDefaultFontSetClass('material-icons-outlined'); }
this happens:
How can I solve this problem? Any solution?
Thanks
Versions
Repro steps
When the fake icon registry is loaded into the app.component like this:
constructor(private iconService: IconService) { this.iconService.registerIcon(); }
and the iconService like this:
public registerIcon() { this.iconRegistry.setDefaultFontSetClass('material-icons-outlined'); }
this happens:
How can I solve this problem? Any solution?
Thanks