import {NgModule} from '@angular/core'; import {CommonModule} from '@angular/common'; import {FormsModule} from '@angular/forms'; import {QuickContactComponent} from './quick-contact.component'; import {IconsModule} from '../../utils/icons/icons.module'; import {IconsService} from '../../utils/icons/icons.service'; import {mail} from '../../utils/icons/icons'; import {close} from '../../utils/icons/icons'; @NgModule({ imports: [ CommonModule, FormsModule, IconsModule ], declarations: [ QuickContactComponent ], providers:[], exports: [ QuickContactComponent ] }) export class QuickContactModule { constructor(private iconsService: IconsService) { this.iconsService.registerIcons([mail,close]) } }