import { NgModule } from '@angular/core' ; import { CommonModule } from '@angular/common' ; import { Routes , RouterModule } from '@angular/router' ; import { IonicModule } from '@ionic/angular' ; import { SpeechPage } from './speech' ; import { SpeechService } from './speech.service' ; import { SpeechButtonComponent } from './speech-button/speech-button' ; import { DirectivesModule } from 'src/app/core/directives/directives.module' ; import { TranslateModule } from '@ngx-translate/core' ; const routes = [ { path : 'speech' , component : SpeechPage } ] ; @ NgModule ( { imports : [ CommonModule , IonicModule , RouterModule . forChild ( routes ) , DirectivesModule , TranslateModule . forChild ( ) ] , providers : [ SpeechService ] , declarations : [ SpeechPage , SpeechButtonComponent ] , exports : [ SpeechPage , SpeechButtonComponent ] } ) export class BlinkerSpeechModule { }