AngularJS directive to control a group of checkboxes