"use strict";app.controller("UploadCtrl",["$scope","FileUploader",function(n,o){var e=n.uploaderImages=new o({url:"upload.php"});e.filters.push({name:"imageFilter",fn:function(n,o){var e="|"+n.type.slice(n.type.lastIndexOf("/")+1)+"|";return"|jpg|png|jpeg|bmp|gif|".indexOf(e)!==-1}}),e.onWhenAddingFileFailed=function(n,o,e){},e.onAfterAddingFile=function(n){},e.onAfterAddingAll=function(n){},e.onBeforeUploadItem=function(n){},e.onProgressItem=function(n,o){},e.onProgressAll=function(n){},e.onSuccessItem=function(n,o,e,t){},e.onErrorItem=function(n,o,e,t){},e.onCancelItem=function(n,o,e,t){},e.onCompleteItem=function(n,o,e,t){},e.onCompleteAll=function(){}}]),app.controller("UploadCtrl2",["$scope","FileUploader",function(n,o){var e=n.uploader=new o({url:"upload.php"});e.filters.push({name:"customFilter",fn:function(n,o){return this.queue.length<10}}),e.onWhenAddingFileFailed=function(n,o,e){},e.onAfterAddingFile=function(n){},e.onAfterAddingAll=function(n){},e.onBeforeUploadItem=function(n){},e.onProgressItem=function(n,o){},e.onProgressAll=function(n){},e.onSuccessItem=function(n,o,e,t){},e.onErrorItem=function(n,o,e,t){},e.onCancelItem=function(n,o,e,t){},e.onCompleteItem=function(n,o,e,t){},e.onCompleteAll=function(){}}]);