Files

32 lines
959 B
TypeScript

import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { FormsModule } from '@angular/forms';
import { HttpModule } from '@angular/http';
import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
import { DashboardComponent } from './dashboard.component';
import { BeerListComponent } from './beer-list.component';
import { BeerSearchComponent } from './beer-search.component';
import { BeerDetailComponent } from './beer-detail.component';
import { BeerService } from './beer.service';
@NgModule({
imports: [
BrowserModule,
FormsModule,
HttpModule,
AppRoutingModule
],
declarations: [
AppComponent,
DashboardComponent,
BeerDetailComponent,
BeerListComponent,
BeerSearchComponent
],
providers: [ BeerService ],
bootstrap: [ AppComponent ]
})
export class AppModule { }