How can I bind checkboxes to an array in my model, so that the array always contains just the values corresponding to the selected checkboxes?
For example, instead of:>
Use an ng-click or cg-change handler that adds/removes values from the array.