I am using colorPicker inside a ng-repeat, like this:
<div ng-repeat="obj in objects">
<color-picker ng-model="obj.color" ... />
</div>
It's working as expected, but the problem is that I need to have access to the current obj from my onChange event and I don't think it's possible right now: change callback only passes the $event, color and api object.
I am using colorPicker inside a ng-repeat, like this:
It's working as expected, but the problem is that I need to have access to the current obj from my onChange event and I don't think it's possible right now: change callback only passes the $event, color and api object.
Any idea how I could do that ?