blob: f6f1e4fac4e5b410b2f66150e8176debecb62f1d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
<!doctype html>
<html ng-app="Alias">
<head>
<meta charset="utf-8">
<title>Alias</title>
<link rel="stylesheet" href="css/app.css"/>
</head>
<body>
<!-- var query = $iq({type : 'get'}).c('query', {xmlns : Strophe.NS.ROSTER}); -->
<!-- connection.sendIQ(query, $scope.onRoster); -->
<form ng-submit="login()" ng-controller="ConnectCtl">
Username: <input type="text" ng-model="username"/>
Password: <input type="text" ng-model="password"/>
<input type="submit" value="Login"/> <!-- disabled="{{username=='' || password==''}}"> -->
</form>
<div ng-controller="RosterCtl">
<ul>
<li ng-repeat="contact in contacts">{{contact}}</li>
</ul>
</div>
<script src="lib/angular/angular.js"></script>
<script src="lib/config.js"></script>
<script src="js/alias.js"></script>
<script src="lib/strophe.js"></script>
<script src="js/services.js"></script>
<script src="js/controllers.js"></script>
<script src="js/filters.js"></script>
<script src="js/directives.js"></script>
</body>
</html>
|