2016-04-28 00:58:50 -07:00
|
|
|
// #docregion
|
2016-05-02 09:58:30 -07:00
|
|
|
import { Component } from '@angular/core';
|
2016-04-28 00:58:50 -07:00
|
|
|
|
|
|
|
// #docregion example
|
2016-05-24 15:16:23 +02:00
|
|
|
import { HeroesComponent } from './+heroes';
|
2016-04-28 00:58:50 -07:00
|
|
|
// #enddocregion example
|
|
|
|
|
|
|
|
@Component({
|
2016-05-18 15:53:13 +02:00
|
|
|
selector: 'sg-app',
|
|
|
|
template: '<toh-heroes></toh-heroes>',
|
2016-04-30 23:11:33 -07:00
|
|
|
directives: [HeroesComponent]
|
2016-04-28 00:58:50 -07:00
|
|
|
})
|
|
|
|
export class AppComponent { }
|