Accessing camera in Ionic online creator

Hello There. I am using ionic creator online and with the click of a button i want it to access the camera on an android phone and store the image. How do i get around this?

There is a tutorial here for native functions but I have not been able to get it working myself. Perhaps you will have better luck: