2016-03-24 15:30:26 -04:00
|
|
|
<!-- #docplaster -->
|
2016-03-17 10:07:54 -04:00
|
|
|
<!-- #docregion -->
|
2016-03-24 15:30:26 -04:00
|
|
|
<div *ngIf="hero">
|
|
|
|
<h2>{{hero.name}} details!</h2>
|
|
|
|
<div>
|
|
|
|
<label>id: </label>{{hero.id}}</div>
|
|
|
|
<div>
|
|
|
|
<label>name: </label>
|
|
|
|
<input [(ngModel)]="hero.name" placeholder="name" />
|
|
|
|
</div>
|
|
|
|
<!-- #docregion back-button -->
|
|
|
|
<button (click)="goBack()">Back</button>
|
|
|
|
<!-- #enddocregion back-button -->
|
|
|
|
</div>
|