-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
51 lines (42 loc) · 1.2 KB
/
index.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<!DOCTYPE html>
<html>
<head>
<title></title>
<style>
[ng-cloak] {
display: none
}
ul {
overflow: auto;
list-style: none;
margin: 0;
padding: 0;
height: 300px;
}
li {
float: left;
}
.section {
float: none;
}
</style>
</head>
<body>
<div id="angular_todoapp" id="ng-app" ng-controller="TodoController">
<div id="angular_header" class="section">
<h1>AngularJS + RequireJS TODOs</h1>
</div>
<div id="angular_main" class="section" ng-show="todos.length" ng-cloak>
<ul id="angular_todo-list">
<li ng-repeat="todo in todos | filter:statusFilter" ng-class="{completed: todo.completed, editing: todo == editedTodo}">
<div class="view">
<input class="toggle" type="checkbox" disabled="disabled" ng-model="todo.completed">
<label ng-dblclick="editTodo(todo)">{{todo.title}}</label>
</div>
</li>
</ul>
</div>
</div>
<script data-main="http://works.harolee.com/red-badger/performance-test/js/main.js" src="http://requirejs.org/docs/release/2.1.3/minified/require.js"></script>
</body>
</html>