Guest User

Untitled

a guest
Jul 14th, 2015
227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $scope.uploader2.onAfterAddingAll = function (fileItems) {
  2.         $scope.$parent.pictureFilenames = $scope.$parent.pictureFilenames.concat(fileItems);
  3.         for(var file in fileItems) {
  4.             fileReader.readAsDataUrl(fileItems[file]._file, $scope).then(function (result) {
  5.                 $scope.$parent.pictureFilenamesContent.push(result);
  6.             });
  7.         }
  8.     }
Advertisement
Add Comment
Please, Sign In to add comment