2015-12-23 09:42:57 -08:00
|
|
|
// #docplaster
|
|
|
|
// #docregion
|
2016-08-09 17:38:25 +01:00
|
|
|
import { Component } from '@angular/core';
|
2016-05-03 14:06:32 +02:00
|
|
|
|
2015-12-23 09:42:57 -08:00
|
|
|
@Component({
|
|
|
|
selector: 'my-app',
|
|
|
|
template: `
|
|
|
|
<h1>{{title}}</h1>
|
|
|
|
<my-heroes></my-heroes>
|
2016-08-09 17:38:25 +01:00
|
|
|
`
|
2015-12-23 09:42:57 -08:00
|
|
|
})
|
|
|
|
export class AppComponent {
|
|
|
|
title = 'Tour of Heroes';
|
|
|
|
}
|