import { HomeComponent } from './home/home.component';
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 { MySpecialistPage } from './my-specialist.page';
import { HmgCommonModule } from '../hmg-common/hmg-common.module';

const routes: Routes = [
  {
    path: '',
    component: MySpecialistPage,
    children: [
      {
        path: 'home',
        component: HomeComponent,
      }
    ]
  }
];

@NgModule({
  imports: [
    CommonModule,
    FormsModule,
    IonicModule,
    HmgCommonModule,
    RouterModule.forChild(routes)
  ],
  declarations: [
    MySpecialistPage,
    HomeComponent
  ]
})
export class MySpecialistPageModule { }
