myems-admin/js/plugins/dropzone/ng-dropzone.js
Function factory
has 63 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function factory(angular, Dropzone){
angular.module('thatisuday.dropzone', []).provider('dropzoneOps', function(){
/*
* Add default options here
Function link
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
link : function(scope, iElem, iAttr){
//Set options for dropzone {override from dropzone options provider}
scope.options = scope.options || {};
var initOps = angular.extend({}, dropzoneOps, scope.options);