// #docregion import {Component, Input} from '@angular/core'; import {Hero} from './hero'; @Component({ selector: 'hero-card', template: `