PhoneGap application written with AngularJS