/
index.html
44 lines (37 loc) · 1.5 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
<HEAD>
<TITLE>AngularJS TODO</TITLE>
<link rel="stylesheet" href="style.css"/>
</HEAD>
<body ng-app="ngApp">
<div id="todoapp" ng-controller="TodoCtrl">
<header>
<h1>Todos by Angular.js</h1>
<div tag="todoList.input"></div>
</header>
<section id="main" style="display: block;">
<div ng-show="todoList.isTodo()">
<div tag="todoList.toggleAll"></div>
</div>
<ui-list instance="todoList"></ui-list>
</section>
<footer style="display: block;">
<div class="todo-count">{{todoList.remaining()}} of {{todoList.items.length}} remaining</div>
<a id="clear-completed" ng-click="todoList.clear()" ng-show="todoList.hasDone()">
Clear <span >{{(todoList.items.length - todoList.remaining())}} {{todoList.itemText()}}</span>.
</a>
</footer>
</div>
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
<script src="angular.js"></script>
<script src="bower_components/ng-inheritance/define.js"></script>
<script src="components/components.js"></script>
<script src="components/uiComponent.js"></script>
<script src="components/input/input.js"></script>
<script src="components/input/inputCheckbox.js"></script>
<script src="components/list/list.js"></script>
<script src="components/list/listItem.js"></script>
<script src="app.js"></script>
<script src="todoList/todoList.js"></script>
<script src="todoListItem/todoListItem.js"></script>
<script src="controller.js"></script>
</body>