I need a directive for upload file (brwose to choose file, and get it as binary data ) , in my angular application.
I use it a lot of times, so it has to be generic.
What is the best way to do it?
I need a directive for upload file (brwose to choose file, and get it as binary data ) , in my angular application.
I use it a lot of times, so it has to be generic.
What is the best way to do it?
directive code
html template code
directive with drag and drop and chose file both functionality
https://github.com/flowjs/ng-flow
This works fine.Of course some wrapping directive can be made at your side.