I'm trying to upload image to variable using drop area and I found out ng2-file-upload but it only uploads to url. Is there any way I can trick it, or maybe some other tools I can use for this? Generally i want to upload image droping it to an area on my page and store it in models field, then save it via rest to database. I use angular 4.
As and example i found this https://github.com/valor-software/ng2-file-upload and demo: http://valor-software.com/ng2-file-upload/ But I found only examples of immediately saving it with rest, instead I want to store it in my variable.