import { NgModule } from '@angular/core' ; import { CommonModule } from '@angular/common' ; import { IonicModule } from '@ionic/angular' ; import { ReactiveFormsModule } from '@angular/forms' ; const MODULES = [ CommonModule , ReactiveFormsModule , IonicModule ] ; @ NgModule ( { declarations : [ ] , imports : [ ... MODULES ] , exports : [ ... MODULES ] } ) export class SharedModule { }