Created
April 2, 2017 09:28
-
-
Save deepal/3171c102f1eb9bb3846857a2975fff6f 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
<form name="myForm" novalidate class="form"> | |
<div class="form-group" ng-class="{'has-error': myForm.name.$invalid}"> | |
<label for="name">Name</label> | |
<input class="form-control" type="text" name="name" id="name" name-validator ng-model="name"/> | |
</div> | |
</form> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment