view src/main.ts @ 493:7f9fb84816b9

Introduce a singleton / service for communicating errors / or other notifications (there aren't any yet) - using MdSnackBar internally.
author Lucas Thompson <dev@lucas.im>
date Thu, 06 Jul 2017 19:47:18 +0100
parents 53ea6406d601
children
line wrap: on
line source
import 'polyfills';
import { enableProdMode } from '@angular/core';
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';

import { AppModule } from './app/app.module';
import { environment } from './environments/environment';

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

platformBrowserDynamic().bootstrapModule(AppModule);