view src/main.ts @ 235:76f2cd2c5a68

Refactor the root component to push the app state down to children. Currently using an ad-hoc container with similar interface as array used previously. not thought out.
author Lucas Thompson <dev@lucas.im>
date Mon, 24 Apr 2017 17:05:12 +0100
parents 340ce94899fd
children 53ea6406d601
line wrap: on
line source
import './polyfills.ts';

import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import { enableProdMode } from '@angular/core';
import { environment } from './environments/environment';
import { AppModule } from './app/';

if (environment.production) {
  enableProdMode();
}

platformBrowserDynamic().bootstrapModule(AppModule);