Last active
April 12, 2016 10:13
-
-
Save burczu/8aa3916f8d198dfac1ec to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1>Two way binding:</h1> | |
<div>{{message}}</div> | |
<label for="new-message">Type: message</label> | |
<input type="text" [(ngModel)]="message" id="new-message" /> | |
<h1>Lists:</h1> | |
<ul> | |
<li *ngFor="#item of nameList"> | |
{{item.name}} | |
</li> | |
</ul> | |
<h1>Directives:</h1> | |
<custom-directive>Loading...</custom-directive> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment