I have the following plunler :
http://plnkr.co/edit/ZJq0Qy3j5nGr1eJ9f9QA?p=preview
What I'd like to do is to enable the button if at least one checkbox is checked.
<button class="btn btn-danger" ng-click="removeSelectedRows()">Remove Selected Rows</button>
This works great :
<button ng-disabled="mySwitch">Click</button>
<input type="checkbox" ng-model="mySwitch">
but when I apply it to my example, it does nothing.
Any advice ?