2016-04-27 11:28:22 -07:00
|
|
|
import {bootstrap} from '@angular/platform-browser-dynamic';
|
2016-01-11 13:49:12 +01:00
|
|
|
import {AppComponent} from './app.component';
|
|
|
|
import {HeroService} from './heroes/hero.service';
|
|
|
|
|
|
|
|
//#docregion bootstrap
|
2016-02-08 22:40:03 -08:00
|
|
|
bootstrap(AppComponent,
|
|
|
|
[HeroService]); // DISCOURAGED (but works)
|
2016-01-11 13:49:12 +01:00
|
|
|
//#enddocregion bootstrap
|