/AngularJS-Color-Picker

A simple port of Lakshan Perera's "Really Simple Color Picker" to Angular JS.

Primary LanguageJavaScript

AngularJS-Color-Picker

A simple port of Lakshan Perera's "Really Simple Color Picker" into an AngularJS directive. I thought I would throw this up in case anyone else would like this feature. Shout out to Brandon Tilley for help with the scoping.

Usage
In this particular case I created an attribute called colorPicker="myModel". Simply add this to an input tag and set the value to what ever model you wish to control and voila, your hex color is now data-binded.