/angular-image-crop

A demo for cropping profile pictures with Angular, Jcrop, and Node.js

Primary LanguageJavaScriptApache License 2.0Apache-2.0

angular-image-crop

Demo at https://coolaj86.github.com/angular-image-crop

This is a demo of jquery's jcrop wrapped in an angular directive and controller.

It's not complete, but you can test it out.

The directive is provided in the module aj.crop.

Install

git clone https://github.com/coolaj86/angular-image-crop.git angular-image-crop
pushd angular-image-crop/
git remote rename origin upstream

npm install -g yo
npm install -g generator-angular
npm install -g bower

npm install
bower install

grunt build --force

Use

grunt build --force
grunt serve

# The --force is in case you don't have compass installed
# If you feel the need for compass, figure out how to install it
# and immediately apply FML relief cream to the affected areas generously

Similar Work