Commit 24f362e2 authored by Pascal Hartig's avatar Pascal Hartig

Merge pull request #1528 from marcogrcr/master

Fixed TypeScript+Angular example check all button functionality.
parents 69cb6f7c 9f642c91
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
</form> </form>
</header> </header>
<section class="main" ng-show="todos.length" ng-cloak> <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> <label for="toggle-all">Mark all as complete</label>
<ul class="todo-list"> <ul class="todo-list">
<li ng-repeat="todo in todos | filter:statusFilter track by $index" ng-class="{completed: todo.completed, editing: todo == editedTodo}"> <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