<ul class="crm-checkbox-list" id="{{ fieldId }}" ng-if="$ctrl.defn.options">
  <li ng-repeat="opt in $ctrl.defn.options track by opt.id" >
    <input type="checkbox" checklist-model="dataProvider.getFieldData()[$ctrl.fieldName]" id="{{ fieldId + opt.id }}" checklist-value="opt.id" />
    <label for="{{ fieldId + opt.id }}">{{:: opt.label }}</label>
  </li>
</ul>
<input type="checkbox" ng-if="!$ctrl.defn.options" id="{{:: fieldId }}" ng-model="dataProvider.getFieldData()[$ctrl.fieldName]" />
