Integrates Phonegap with Angular.js