I have a multiselect field in an angular form:
<div crm-ui-field="{name: 'subform.committees', title: ts('Secondary Committee')}">
<div ng-controller="CommitteeCtrl">
<select
multiple="multiple"
crm-ui-id="subform.committees"
name="secondary_committee"
crm-ui-select="{dropdownAutoWidth : true, allowClear: false, placeholder: ts('Choose Committee')}"
ng-model="mailing.secondary_committee"
ng-options="comm as comm.label for comm in comms track by comm.value"
>
<option />
</select>
</div>
</div>
I'm running into problems trying to figure out how to store the data and retrieve it so that the angular form loads the values properly. How does angular expect to see the data?