Jscolor Pick Up Color To Trigger Angularjs Ng-change
I use this plugin, JSColor (http://jscolor.com/) and bind the input value with AngularJS ng-model like the following: 
$scope.alert = function(myColor) {
    alert(myColor);
}
Or with injecting the $window service:
.controller('ctrl', function($scope, $window) {
    $scope.alert = function(color) {
        $window.alert(color);
    }
})
Post a Comment for "Jscolor Pick Up Color To Trigger Angularjs Ng-change"