Cordova and ngCordova integration