PhoneGap, auth0, and Angular.js