Commit 9f642c91 authored by Marco Gonzalez's avatar Marco Gonzalez

Fixed TypeScript+Angular example check all button functionality.

parent 69cb6f7c
......@@ -16,7 +16,7 @@
</form>
</header>
<section class="main" ng-show="todos.length" ng-cloak>
<input class="toggle-all" type="checkbox" ng-model="allChecked" ng-click="vm.markAll(!allChecked)">
<input class="toggle-all" type="checkbox" ng-model="allChecked" ng-click="vm.markAll(allChecked)">
<label for="toggle-all">Mark all as complete</label>
<ul class="todo-list">
<li ng-repeat="todo in todos | filter:statusFilter track by $index" ng-class="{completed: todo.completed, editing: todo == editedTodo}">
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment