<div ng-controller="Umbraco.PropertyEditors.EyeDropperColorPickerController as vm">

    <umb-color-picker
        ng-model="vm.color"
        options="vm.options"
        on-change="vm.selectColor(color)">
    </umb-color-picker>

    <input type="hidden" name="selectedColor" ng-model="model.selectedColor" val-property-validator="validateMandatory" />

</div>
