ruhley / angular-color-picker

Vanilla AngularJS Color Picker Directive with no requirement on jQuery
http://ruhley.github.io/angular-color-picker/
MIT License
166 stars 79 forks source link

NgModelOptions / getterSetter broken on Angular 1.3 #183

Open robgraeber opened 6 years ago

robgraeber commented 6 years ago

Fyi I couldn't get ng-model-options to work on 1.3.

I tracked the issue to line: https://github.com/ruhley/angular-color-picker/blob/master/src/scripts/controller.js#L34

this.$scope.control[0].$options is the correct path, while this.$scope.control[0].$options.$$options doesn't exist on angular 1.3 at least.