Created
March 15, 2015 23:58
-
-
Save ralfting/3917cb60cd3575b6da9a to your computer and use it in GitHub Desktop.
View
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
<!-- [ ... ] --> | |
<form class="form-horizontal"> | |
<div class="form-group"> | |
<label class="col-sm-2 control-label">Nome</label> | |
<div class="col-sm-10"> | |
<!-- inserido ng-model --> | |
<input type="text" class="form-control" placeholder="Digite um nome" ng-model="name"> | |
</div> | |
</div> | |
</form> | |
<!-- Associação --> | |
O nome digitado é <span class="name">{{name}}</span> ! | |
<!-- [ ... ] --> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment