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 { ViewGisPage } from './view-gis.page' ; import { InfoBarComponent } from './info-bar/info-bar.component' ; import { ComponentsModule } from 'src/app/core/components/components.module' ; import { DirectivesModule } from 'src/app/core/directives/directives.module' ; const routes = [ { path : '' , component : ViewGisPage } ] ; @ NgModule ( { imports : [ CommonModule , FormsModule , IonicModule , ComponentsModule , RouterModule . forChild ( routes ) , DirectivesModule ] , declarations : [ ViewGisPage , InfoBarComponent ] } ) export class ViewGisPageModule { }