blob: 4e9327500de4a9c1387a5ec6a93823a1894fc1ce [file] [log] [blame]
import {NgModule} from '@angular/core';
import {BrowserModule} from '@angular/platform-browser';
import {HttpModule} from '@angular/http';
import {FormsModule} from '@angular/forms';
import {CookieService} from 'angular2-cookie/services/cookies.service';
import {routing, RootComponent} from './routes';
import {HelloComponent} from './hello';
import {LoginComponent} from './components/login/login.component';
import {ProtectedDirective} from './directives/protected.directive';
@NgModule({
imports: [
BrowserModule,
FormsModule,
routing,
HttpModule
],
declarations: [
RootComponent,
HelloComponent,
LoginComponent,
ProtectedDirective
],
providers: [CookieService],
bootstrap: [RootComponent]
})
export class AppModule {}