import {LocationStrategy, HashLocationStrategy} from '@angular/common';
import {bootstrap}                              from '@angular/platform-browser-dynamic';
import { disableDeprecatedForms, provideForms } from '@angular/forms';
import {provide, enableProdMode}                from '@angular/core';
import {HTTP_PROVIDERS}                         from '@angular/http';
import { APP_ROUTER_PROVIDERS }                 from './app/app.routes';
import {APP_BASE_HREF}                          from '@angular/common';


import '../node_modules/bootstrap/dist/css/bootstrap.css';
import '../node_modules/bootstrap/dist/css/bootstrap-theme.css';
import './styles/main.css';


import {AppComponent} from './app/app.component';


// enableProdMode()

bootstrap(AppComponent, [
  HTTP_PROVIDERS,
  APP_ROUTER_PROVIDERS,
  disableDeprecatedForms(),
  provideForms(),
  {provide: APP_BASE_HREF, useValue: '/'}
])
.catch(err => console.error(err));
