I want to migrate from angular2 rc4 to rc5
and I'm not able to lanch my project
boot.ts
'use strict';
import { browserDynamicPlatform } from '@angular/platform-browser-dynamic';
import {AppModule} from "./AppModule";
browserDynamicPlatform().bootstrapModule(AppModule)
.catch(err => console.error(err));
this is my AppModule.ts
@NgModule({
imports: [
BrowserModule,
FormsModule,
routing
],
declarations: [
AppComponent,
loginComponent
// CrisisListComponent
],
providers: [
appRoutingProviders
],
bootstrap: [ AppComponent ]
})
export class AppModule {
}
and my appRouting
const appRoutes: Routes = [
{path: '', component: loginComponent},
{path: 'login', component: loginComponent},
];
export const appRoutingProviders: any[] = [
]
export const routing = RouterModule.forRoot(appRoutes);
and I getting this error