Upload photo to the Profile

Just new to ionic, and making my first hybrid app.

The thing i want to know is that how can I, upload an image to the image frame after browsing the picture from my gallery.

It arises two questions:

  1. How to get access of the gallery from a button.
  2. How can I put the image in the frame after selecting the picture from gallery.

Waiting for the quick response.

Use the camera plugin > http://ngcordova.com/docs/plugins/camera/ , there’s a perfect sample for it