// #docregion show-hero
template: '
{{title}}
{{hero}} details!
'
// #enddocregion show-hero
// #docregion show-hero-2
template: '{{title}}
{{hero.name}} details!
'
// #enddocregion show-hero-2
// #docregion show-hero-properties
template: '{{title}}
{{hero.name}} details!
{{hero.id}}
{{hero.name}}
'
// #enddocregion show-hero-properties
// #docregion multi-line-strings
template:`
{{title}}
{{hero.name}} details!
{{hero.id}}
{{hero.name}}
`
// #enddocregion multi-line-strings
// #docregion editing-Hero
template:`
{{title}}
{{hero.name}} details!
{{hero.id}}
`
// #enddocregion editing-Hero
// #docregion app-component-1
export class AppComponent {
title = 'Tour of Heroes';
hero = 'Windstorm';
}
// #enddocregion app-component-1
// #docregion hero-property-1
hero: Hero = {
id: 1,
name: 'Windstorm'
};
// #enddocregion hero-property-1