I'm using the following input inside an Ionic app to get an image or video from the user
<input type="file" multiple #imageFileInput accept="image/*" (change)="imageFiles($event)" style="display:none;" />
However, it doesn't give them the choice of the camera as the chrome spec suggests When I add the capture
attribute it ONLY opens the camera and doesn't give the choice of selecting a file. How can I set it so that the user has the choice of the camera or image from gallery?