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 { SettingsPage } from './settings.page' ; import { DeviceIconPageModule } from 'src/app/core/pages/device-icon/device-icon.module' ; import { ComponentsModule } from 'src/app/core/components/components.module' ; import { DirectivesModule } from 'src/app/core/directives/directives.module' ; const routes = [ { path : '' , component : SettingsPage } ] ; @ NgModule ( { imports : [ CommonModule , FormsModule , IonicModule , DeviceIconPageModule , ComponentsModule , DirectivesModule , RouterModule . forChild ( routes ) ] , declarations : [ SettingsPage ] } ) export class SettingsPageModule { }