13 lines
421 B
TypeScript
13 lines
421 B
TypeScript
|
// #docregion
|
||
|
import {bootstrap} from 'angular2/platform/browser';
|
||
|
import {HeroesListComponent} from './heroes-list.component';
|
||
|
import {HeroesService} from './heroes.service';
|
||
|
|
||
|
bootstrap(HeroesListComponent, [HeroesService])
|
||
|
|
||
|
/* Documentation artifact below
|
||
|
// #docregion bad-alternative
|
||
|
// Don't do this!
|
||
|
bootstrap(HeroesListComponent, [HeroesService, RestoreService])
|
||
|
// #enddocregion bad-alternative
|
||
|
*/
|