How to access to the phone photo gallery?

Hi ! I’m facing an issue using ionic creator, how can I upload an image from the phone gallery ?

What I tried (most relevant tries) :

=> Get : Uncaught SyntaxError: Unexpected token (
ionic.bundle.js:13443 Uncaught Error: [$injector:modulerr] Failed to instantiate module app due to:
Error: [$injector:nomod] Module ‘app’ is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.

I’m testing the app with both the web browser emulator (which I know sometimes doesn’t work with cordova functions) and the ionic creator app on iphone. I’m sure someone have already faced and succeed this problem, thank you guys.