Skip to content

Instantly share code, notes, and snippets.

@jbmilgrom
Last active May 1, 2016 13:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jbmilgrom/b24ff57f8113c3b7217611b5c543dc39 to your computer and use it in GitHub Desktop.
Save jbmilgrom/b24ff57f8113c3b7217611b5c543dc39 to your computer and use it in GitHub Desktop.
angular.module('myModule').controller('fileUploadCtrl', function($scope, FileUploader){
$scope.uploader = new FileUploader({
settings: {}
});
var reader = new FileReader();
reader.onload = function(event) {
var img = new Image();
img.onload = onLoadImage;
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment