2016-01-11 13:49:12 +01:00
|
|
|
import {bootstrap} from 'angular2/platform/browser';
|
|
|
|
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
|