We will be creating a Angular Material asset service that adds our custom SVG files to the Angular Material Icon registry so that the SVG can be used as a custom icon. In addition the service is self initializing. It only requires the import of the service module.
Written Tutorial:
https://developer.fireflysemantics.co...
Tutorial Stackblitz:
https://stackblitz.com/edit/angular-i...
Final Angular Demo Stackblitz:
https://stackblitz.com/edit/angular-i...
NPM Asset Service Package Produced
https://www.npmjs.com/package/@firefl...
Github Project Repository:
https://github.com/fireflysemantics/s...