Currently, I am able to retrieve a single file from a single input using the following code:
$scope.$on("fileSelected", function (event, args) {
$scope.$apply(function () {
$scope.files.push(args.file);
});
});
I am curious if I can still get multiple files by using a "multiple" file input along with the event "fileSelected"???
<input type='file' id='tempFiles' multiple></input>
If that is possible, would it be something like this:
$scope.$on("fileSelected", function (event, args) {
$scope.$apply(function () {
$scope.files.push(args.files);
}); });