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


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

export const moduleRouting: ModuleWithProviders = RouterModule.forChild(ModuleRoutes)

