blob: af804d30bf1f644f53381ee57db3f5a5bb65cecc [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';
import {LogoutComponent} from './components/logout/logout.component.ts';
@NgModule({
imports: [
BrowserModule,
FormsModule,
routing,
HttpModule
],
declarations: [
RootComponent,
HelloComponent,
LoginComponent,
LogoutComponent,
ProtectedDirective
],
providers: [CookieService],
bootstrap: [RootComponent]
})
export class AppModule {}