10 lines
347 B
HTML
10 lines
347 B
HTML
|
<div data-ng-repeat="task in vm.tasks">
|
||
|
<span ng-class="{ done: task.done }" ><a href="#/details/{{ task._id }}" >{{ task.title }}</a></span>
|
||
|
<input type="checkbox" ng-model="task.done"/><a href ng-click="vm.removeTask(task._id)">X</a>
|
||
|
</div><br>
|
||
|
|
||
|
<input ng-model="vm.newTitle"/>
|
||
|
|
||
|
<button ng-click="vm.addTask(newTask)">Add task</button>
|
||
|
|