Skip to content

Commit

Permalink
Step 20.20: Add ngImgCrop
Browse files Browse the repository at this point in the history
  • Loading branch information
Kamil Kisiela authored and DAB0mB committed Dec 14, 2016
1 parent a78c22d commit c965f46
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion imports/ui/components/partyUpload/partyUpload.js
@@ -1,6 +1,9 @@
import angular from 'angular';
import angularMeteor from 'angular-meteor';
import ngFileUpload from 'ng-file-upload';
import 'ng-img-crop/compile/minified/ng-img-crop';
import 'ng-img-crop/compile/minified/ng-img-crop.css';


import { Meteor } from 'meteor/meteor';

Expand Down Expand Up @@ -36,7 +39,8 @@ const name = 'partyUpload';
// create a module
export default angular.module(name, [
angularMeteor,
ngFileUpload
ngFileUpload,
'ngImgCrop'
]).component(name, {
template,
controllerAs: name,
Expand Down

0 comments on commit c965f46

Please sign in to comment.