2015-12-11 13:18:37 -08:00
|
|
|
// #docregion
|
2016-05-03 14:06:32 +02:00
|
|
|
import { bootstrap } from '@angular/platform-browser-dynamic';
|
|
|
|
|
|
|
|
import { HeroesListComponent } from './heroes-list.component';
|
|
|
|
import { HeroesService } from './heroes.service';
|
2015-12-11 13:18:37 -08:00
|
|
|
|
2016-06-08 01:06:25 +02:00
|
|
|
bootstrap(HeroesListComponent, [HeroesService]);
|
2015-12-11 13:18:37 -08:00
|
|
|
|
|
|
|
/* Documentation artifact below
|
|
|
|
// #docregion bad-alternative
|
|
|
|
// Don't do this!
|
|
|
|
bootstrap(HeroesListComponent, [HeroesService, RestoreService])
|
|
|
|
// #enddocregion bad-alternative
|
2016-05-03 14:06:32 +02:00
|
|
|
*/
|