import { NgModule } from '@angular/core' ; import { CommonModule } from '@angular/common' ; import { FormsModule } from '@angular/forms' ; import { Routes , RouterModule } from '@angular/router' ; import { IonicModule } from '@ionic/angular' ; import { EsptouchPage } from './esptouch' ; import { ConfigStatePageModule } from './config-state/config-state.module' ; import { DirectivesModule } from 'src/app/core/directives/directives.module' ; const routes = [ { path : '' , component : EsptouchPage } ] ; @ NgModule ( { imports : [ CommonModule , FormsModule , IonicModule , ConfigStatePageModule , DirectivesModule , RouterModule . forChild ( routes ) ] , declarations : [ EsptouchPage ] } ) export class EsptouchPageModule { }