field.boolean to checkbox, added ng-model as attribute