Last active
May 1, 2016 13:44
-
-
Save jbmilgrom/b24ff57f8113c3b7217611b5c543dc39 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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