app/views/todo_rails/index/index.haml in todo_rails-0.1.2 vs app/views/todo_rails/index/index.haml in todo_rails-0.1.3
- old
+ new
@@ -10,7 +10,6 @@
+
%div
.listHeader{ flex: '', layout: '', 'layout-align' => 'end end' }= @config['remaining_label']
%ul
%li{ 'ng-repeat' => 'todo in todos' }
- %md-checkbox{ 'aria-label' => 'Todo Checkbox',
- 'ng-init' => 'todo.completed=false', 'ng-model' => 'todo.completed' } {{todo.title}}
+ %md-checkbox{ 'aria-label' => 'Todo Checkbox', 'ng-model' => 'todo.completed', 'ng-change' => 'saveTodo(todo)' } {{todo.title}}