sahusoftcom / plupload-angular-directive

An angular directive wrapper for the cross browser upload script plupload.
Apache License 2.0
61 stars 32 forks source link

Error when using the stop method #38

Closed clinyong closed 7 years ago

clinyong commented 9 years ago
<span class="btn btn-default btn-file" pl-upload="" pl-instance="uploader">

I store the instance in $scope.uploader. When I use

$scope.uploader.stop()

The error occurs.

Error: [$rootScope:inprog] http://errors.angularjs.org/1.3.15/$rootScope/inprog?p0=%24apply

But the start method works well.

$scope.uploader.start() // works well