create HomeComponent

This commit is contained in:
chsakell
2016-09-26 14:28:45 +03:00
parent fee7d8b8dd
commit 3ebf6f0550
9 changed files with 55 additions and 13 deletions

View File

@@ -1,9 +1,23 @@
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { FormsModule } from '@angular/forms';
import { HttpModule } from '@angular/http';
import { AppComponent } from './app.component';
import { HomeComponent } from './home/home.component';
import { routing } from './app.routes';
@NgModule({
imports: [BrowserModule],
declarations: [AppComponent],
imports: [
BrowserModule,
FormsModule,
HttpModule,
routing
],
declarations: [
AppComponent,
HomeComponent
],
bootstrap: [AppComponent]
})
export class AppModule { }