How do I change check status of md-checkbox from Angular material depending on the actual checkbox check status?
Here are my checkboxes. They are inside ng-repeat.
<input type="checkbox" ng-checked="item.completed" ng-model="toDoItemCheckbox">
<md-checkbox
ng-change="toggleToDoItem({{item.createdAt}})" ng-model="toDoItemCheckbox" aria-label="todo-checkbox">
</md-checkbox>