Angular 2 RC5 : No provider for Router
Inside app.routes.ts file:
Add this import state
import { ModuleWithProviders } from '@angular/core';
Than
export const routing: ModuleWithProviders = RouterModule.forRoot(routes);
This should work.
Inside app.routes.ts file:
Add this import state
import { ModuleWithProviders } from '@angular/core';
Than
export const routing: ModuleWithProviders = RouterModule.forRoot(routes);
This should work.