2016-04-28 03:58:50 -04:00
|
|
|
// #docregion
|
|
|
|
import { Component } from 'angular2/core';
|
|
|
|
|
|
|
|
// #docregion example
|
|
|
|
import { HeroesComponent } from './+heroes/index';
|
|
|
|
// #enddocregion example
|
|
|
|
|
|
|
|
@Component({
|
|
|
|
selector: 'toh-app',
|
2016-05-01 02:11:33 -04:00
|
|
|
template: '<div>app</div>',
|
|
|
|
directives: [HeroesComponent]
|
2016-04-28 03:58:50 -04:00
|
|
|
})
|
|
|
|
export class AppComponent { }
|