-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.html
More file actions
19 lines (18 loc) · 732 Bytes
/
test.html
File metadata and controls
19 lines (18 loc) · 732 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!DOCTYPE html>
<html>
<head>
<title>Mean Stack</title>
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.18/angular.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.18/angular-route.js"></script>
<script src="/app"></script>
</head>
<body ng-app="test" ng-controller="TestCtrl">
<button class="btn btn-success" ng-click="getToken()">getToken()</button>{{errmessage}}<br />
<input type="password" ng-model="password" />
<button class="btn btn-success" ng-click="getUsername()">getUsername()</button>
<br />
Token: {{token}}<br>
User: <span>{{username}}</span>
</body>
</html>