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 { PendingTransactionPage } from './pending-transaction.page';
import { HomeComponent } from './home/home.component';
import { ServiceService } from './service/service.service';
import { HmgCommonModule } from '../hmg-common/hmg-common.module';
const routes: Routes = [
  {
    path: '',
    component: PendingTransactionPage,
    children: [
      {
        path: 'home',
        component: HomeComponent
      },
    ]
  }
];

@NgModule({
  imports: [
    CommonModule,
    FormsModule,
    IonicModule,
    RouterModule.forChild(routes),
    HmgCommonModule
  ],
  declarations: [PendingTransactionPage, HomeComponent],
  providers: [ServiceService]
})
export class PendingTransactionPageModule { }
