Added API and first UI

This commit is contained in:
2017-02-26 21:08:38 +01:00
parent 23e47005cf
commit 373fdf8417
33 changed files with 784 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
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 { BeerDetailComponent } from './beer-detail.component';
import { BeerService } from './beer.service';
@NgModule({
imports: [
BrowserModule,
FormsModule,
HttpModule,
AppRoutingModule
],
declarations: [
AppComponent,
DashboardComponent,
BeerDetailComponent,
BeerListComponent,
],
providers: [ BeerService ],
bootstrap: [ AppComponent ]
})
export class AppModule { }