Phonegap app on angular.js