angular-color-eyedropper
##Install
bower install jm-color-eyedropper
##Use
- Install it;
- Add
jmColorEyedropperto your angular module dependencies list; - Declare
<jm-eyedropper-canvas>element in HTML.
This canvas will load image from img-src attribute, scale size of image to width/height of canvas (from width and height attributes) and will set ng-model to color data of pixel on mouseclick event. If ng-change declared, will be triggered also.