@Component({ selector: 'app-root', template: ` ‹h1›Tour of Heroes‹/h1› ‹app-hero-main [hero]="hero"›‹/app-hero-main› `, styleUrls: ['./hero-app.component.css'] }) export class HeroAppComponent { /* . . . */ }