ColorThief wrapper for AngularJS