angular-cn/public/docs/_examples/style-guide/ts/04-14/app/app.component.ts

11 lines
231 B
TypeScript
Raw Normal View History

2016-05-18 09:53:13 -04:00
import { Component } from '@angular/core';
import { HeroesComponent } from './+heroes';
2016-05-18 09:53:13 -04:00
@Component({
selector: 'sg-app',
template: '<toh-heroes></toh-heroes>',
directives: [HeroesComponent]
})
export class AppComponent { }