angular-cn/public/docs/_examples/architecture/ts/app/hero-detail.component.html
Ward Bell 393987bdf5 docs: split intro into separate chapters, shuffle code, update to alph52
closes #483
A major refactoring of the intro chapters includes text revision
and the addition of "module" as an 8th "basic building block".
Incorporates John Papa feedback.
2015-12-12 09:46:07 -08:00

9 lines
220 B
HTML

<hr>
<h4>{{hero.name}} Detail</h4>
<div>Id: {{hero.id}}</div>
<div>Name:
<!-- #docregion ngModel -->
<input [(ngModel)]="hero.name">
<!-- #enddocregion ngModel -->
</div>
<div>Power:<input [(ngModel)]="hero.power"></div>