Add routing module

This commit is contained in:
Maxime GRIS
2017-05-05 22:38:28 +02:00
parent 8eaaa79cab
commit 7334ce89b5
11 changed files with 93 additions and 34 deletions

View File

@@ -4,15 +4,20 @@ import { FormsModule } from '@angular/forms';
import { HttpModule } from '@angular/http';
import { AppComponent } from './app.component';
import { HomeComponent } from './home/home.component';
import { AppRoutingModule } from './app-routing.module';
@NgModule({
declarations: [
AppComponent
AppComponent,
HomeComponent
],
imports: [
BrowserModule,
FormsModule,
HttpModule
HttpModule,
AppRoutingModule
],
providers: [],
bootstrap: [AppComponent]