Fixed component binding

This commit is contained in:
Denys Vuika
2016-04-14 12:16:15 +01:00
parent 2aaf4a0a77
commit 9275c31b26

View File

@@ -7,7 +7,7 @@ import {Component} from "angular2/core";
<h1>Page 2</h1>
<input [(ngModel)]="username">
<span>Username: {{username}}</span>
<hello-world [who]="username"></hello-world>
<hello-world [attr.who]="username"></hello-world>
</div>
</div>
`