Ionic Desktop App - Picture Upload

I want to build my first Desktop Web Application with Ionic2.
And now I want to upload a picture, preview it and then upload to my API.
The question is: What’s the best way to do so?
Is it with a input type=“file” the best way to do or are there better possibilities?

If someone have done it, please give me some advice

This works for me:

Thanks for sharing.
I’ve already got my solution. With input type=file and base64