So far i get the file(single file) from single input using
$scope.$on("fileSelected", function (event, args) {
$scope.$apply(function () {
$scope.files.push(args.file);
});
});
I wonder if i use "multiple" file input, can i still get file"s" with event "fileSelected"???
<input type='file' id='tempFiles' multiple></input>
An if i can, can i do something like
$scope.$on("fileSelected", function (event, args) {
$scope.$apply(function () {
$scope.files.push(args.files);
}); });