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