dist/ng-droplet.js
function error() {

                        this.httpRequest.upload.onerror = function onError() {

                            $scope.$apply(function apply() {

                                $scope.finishedUploading();
                                $scope.isError = true;

                                var response = $scope.options.parserFn(this.httpRequest.responseText);
                                $rootScope.$broadcast('$dropletError', response);
                                $scope.onError({ response: response });
                                this.deferred.reject(response);

                            }.bind(this));

                        }.bind(this);

                    }
function error() {

                        this.httpRequest.upload.onerror = function onError() {

                            $scope.$apply(function apply() {

                                $scope.finishedUploading();
                                $scope.isError = true;

                                var response = $scope.options.parserFn(this.httpRequest.responseText);
                                $rootScope.$broadcast('$dropletError', response);
                                $scope.onError({ response: response });
                                this.deferred.reject(response);

                            }.bind(this));

                        }.bind(this);

                    }
function error ( ) { this . httpRequest . upload . onerror = function onError ( ) { $scope . $apply ( function apply ( ) { $scope . finishedUploading ( ) ; $scope . isError = true ; var response = $scope . options . parserFn ( this . httpRequest . responseText ) ; $rootScope . $broadcast ( '$dropletError' , response ) ; $scope . onError ( { response : response } ) ; this . deferred . reject ( response ) ; } . bind ( this ) ) ; } . bind ( this ) ; }
Invoked when an error is thrown when uploading the files.

@method error
@return {void}
Invoked when an error is thrown when uploading the files .