11 lines
270 B
TypeScript
11 lines
270 B
TypeScript
|
import { Component } from '@angular/core';
|
||
|
|
||
|
import { HeroListComponent } from './heroes/hero-list/hero-list.component';
|
||
|
|
||
|
@Component({
|
||
|
selector: 'sg-app',
|
||
|
template: '<toh-hero-list></toh-hero-list>',
|
||
|
directives: [HeroListComponent]
|
||
|
})
|
||
|
export class AppComponent { }
|