Skip to content
rkmax edited this page Sep 15, 2014 · 3 revisions

Welcome to the plupload-angular-directive cookbook!

Get the respose when a file is uploaded

<!--template.html-->
<button pl-upload on-file-uploaded='uploaded($response)'>Upload</button>
//script.js
function MyCtrl($scope) {
    $scope.uploaded = function(response) {
       console.log(response); //enjoy
    };
}
Clone this wiki locally