Angular Bind Checkboxes list to a unique ng-model Array

Angular Bind Checkboxes list to a unique ng-model Array

Bind a list of checkboxes to a unique ng-model array.Angular.checkboxes module lets you turn your list of checkboxes into a unique destination array, providing :

  • two-way binding: manipulate the destination array will check/uncheck the checkboxes AND check/uncheck the checkboxes will modify the destination array.
  • no isolated scope for each checkbox: the directive does not create new child scope.
  • a mtCheckboxController: internal controller can be injected to other directives.

Leave a Reply