AngularJS module for checking a range of checkboxes