fixed checkboxes template to enable array validation

this should fix #45

we need the ng-model in the div to trigger the validation, since the single checkboxes are bound to intermediate models