import { ModuleWithProviders } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { IndexComponent } from './index/index.component';


const ModuleRoutes: Routes = [
  { path: 'index', component: IndexComponent }
];

export const ModuleRouting:ModuleWithProviders= RouterModule.forChild(
  ModuleRoutes
);