All Questions
2 questions
0
votes
1
answer
54
views
Passing service call from directive to controller in angularJS
I have a directive, who receive a file to upload in httpPostFactory service and php code
<script src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.7.3/angular.min.js"></script>
...
4
votes
3
answers
20k
views
How to check file type before uploading with AngularJS?
I want to upload a zip file to server. Before uploading, I have to check if it's a zip file.
If it's a zip file, then submit.
If it's not a zip file, it comes up "Not a zip file." and the file can't ...