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 { EnhancementMaterialsPage } from './enhancement-materials.page' ; import { ResourcesPopover } from './resources.popover' ; const routes = [ { path : '' , component : EnhancementMaterialsPage } ] ; @ NgModule ( { imports : [ CommonModule , FormsModule , IonicModule , RouterModule . forChild ( routes ) ] , declarations : [ EnhancementMaterialsPage , ResourcesPopover ] , entryComponents : [ ResourcesPopover ] } ) export class EnhancementMaterialsPageModule { }