Phonegap Angularjs