"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; var __metadata = (this && this.__metadata) || function (k, v) { if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); }; var core_1 = require('@angular/core'); var platform_browser_1 = require('@angular/platform-browser'); var router_1 = require('@angular/router'); var http_1 = require('@angular/http'); var forms_1 = require('@angular/forms'); var app_component_1 = require('./app.component'); var site_menu_component_1 = require('./shared/site-menu.component'); var site_footer_component_1 = require('./shared/site-footer.component'); var login_component_1 = require('./pages/login.component'); var update_password_component_1 = require('./pages/update-password.component'); var dashboard_component_1 = require('./pages/dashboard.component'); var appRoutes = [ { path: '', component: dashboard_component_1.DashboardComponent }, { path: 'dashboard', redirectTo: '', pathMatch: 'full' }, { path: 'login', component: login_component_1.LoginComponent }, { path: 'login/:slug', component: login_component_1.LoginComponent } ]; var AppModule = (function () { function AppModule() { } AppModule = __decorate([ core_1.NgModule({ imports: [ platform_browser_1.BrowserModule, http_1.HttpModule, router_1.RouterModule.forRoot(appRoutes), forms_1.FormsModule ], declarations: [ app_component_1.AppComponent, site_menu_component_1.SiteMenuComponent, site_footer_component_1.SiteFooterComponent, dashboard_component_1.DashboardComponent, login_component_1.LoginComponent, update_password_component_1.UpdatePasswordComponent ], bootstrap: [app_component_1.AppComponent] }), __metadata('design:paramtypes', []) ], AppModule); return AppModule; }()); exports.AppModule = AppModule; //# sourceMappingURL=app.module.js.map