Added by: Sam Deering
An AngularJS module for image cropping
ngCrop is an AngularJS module that provides a directive for image cropping within web browsers using the HTML5 canvas element. The current version only works on Desktop browsers with Mobile support slated for the future. The directive operates by inserting an HTML5 canvas on the DOM and drawing an image file that is bound to the isolate scope of the directive. The directive watches for new images to update the canvas. Please use this code at your own discretion.
Download the distribution file or if using Bower, add as a dependency in your bower.json file. Add ngcrop as a module dependency in your main application
js file and then attach the ngcrop directive to an HTML element in your application. See the sample test page for an example. You can view the sample page
by running the
gulp serve command.
Module stats last updated: 2015-04-19 01:55:44