2016-04-28 03:58:50 -04:00
|
|
|
// #docregion
|
2016-05-02 12:58:30 -04:00
|
|
|
import { Component } from '@angular/core';
|
2016-04-28 03:58:50 -04:00
|
|
|
|
|
|
|
// #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 { }
|