ngImgCrop icon indicating copy to clipboard operation
ngImgCrop copied to clipboard

Make it compatible to browserify

Open herpiko opened this issue 9 years ago • 2 comments

herpiko avatar Nov 25 '15 18:11 herpiko

:+1:

keithbranton avatar Dec 09 '15 16:12 keithbranton

This is working for you? I'm having no luck.

package.json:

"dependencies": {
  "ng-img-crop": "git://github.com/herpiko/ngImgCrop.git"
}

module:

require('ng-file-upload')
require('ng-img-crop')

var group = angular.module('group', ['auth', 'ngFileUpload', 'ngImgCrop'])

error in console:

Error: [$injector:unpr] Unknown provider: CropHostProvider <- CropHost <- imgCropDirective

damionvega avatar Apr 18 '16 19:04 damionvega