I have dropdown directive here LINK
Need some assistance on how can I bind for my edit and save form.
FOR VIEWING/EDIT: How can I assign my supplier.statusID in my keyword directive?
<tr ng-repeat="supplier in suppliers">
<td>{{supplier.Id}}</td>
<td>{{supplier.Name}}</td>
<td>
<keywords title="Choose Status" label="" array="myKeyword" opt-value="Id" opt-description="Description"></keywords>
<br />
</td>
</tr>
FOR ADD NEW RECORD: how can I save the ID of my keyword directive to my supplier.statusID
<div>Name: <input type="text" />
<br />
Status: <keywords title="Choose Status" label="" array="myKeyword" opt-value="Id" opt-description="Description"></keywords><br><button>Save</button>
</div>