-
Notifications
You must be signed in to change notification settings - Fork 0
/
xedit.html
30 lines (30 loc) · 1.22 KB
/
xedit.html
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
<!DOCTYPE html>
<html ng-app="app">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Angular-xeditable Starter Template</title>
<!-- Bootstrap 3 css -->
<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet">
<!-- Angular.js -->
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.0.8/angular.min.js"></script>
<script src="https://cdn.firebase.com/js/client/2.2.4/firebase.js"></script>
<!-- AngularFire -->
<script src="https://cdn.firebase.com/libs/angularfire/1.1.2/angularfire.min.js"></script>
<!-- Angular-xeditable -->
<link href="angular-xeditable/css/xeditable.css" rel="stylesheet">
<script src="angular-xeditable/js/xeditable.js"></script>
<!-- app.js -->
<script src="app.js"></script>
</head>
<body style="padding: 20px">
<h1 style="margin-bottom: 20px">Angular-xeditable Starter Template</h1>
<div ng-controller="Ctrl">
<!-- editable element -->
<a href="#" editable-text="user.name" ng-model="user.name">{{ user.name || "empty" }}</a>
<div id="debug" style="margin-top: 30px">
{{ user | json }}
</div>
</div>
</body>
</html>