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