AngularJs Cordova application