Created
October 19, 2012 17:02
-
-
Save mranosa/3919349 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
inspectormanApp.controller('LoginCtrl', function($scope) { | |
$scope.user = { | |
username : "blah", | |
password : "" | |
} | |
}); | |
<div class="login-box"> | |
<form class="form-horizontal" ng-model="user"> | |
<input type="text" id="username" placeholder="Username"> | |
<input type="text" id="password" placeholder="Password"> | |
<div class="control-group"> | |
<div class="controls pull-right" style="padding-right: 30px;"> | |
<button type="submit" class="btn btn-primary btn-large" | |
style="min-width: 100px;" | |
ng-click="authenticateUser()"> | |
Login | |
</button> | |
</div> | |
</div> | |
</form> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment