Image Crop directive for AngularJS customised for the Particle CMS.
bower install eip-ui-cropper
npm install eip-ui-cropper
meteor npm install --save eip-ui-cropper
angular.module('app', ['uiCropper'])
.controller(function($scope){
$scope.myImage = 'https://raw.githubusercontent.com/CrackerakiUA/ui-cropper/master/screenshots/live.jpg';
$scope.myCroppedImage = ''; // in this variable you will have dataUrl of cropped area.
});
<ui-cropper image="myImage" result-image="myCroppedImage"></ui-cropper>
You can checkout all options under our wiki page