AngularJS helper directive and services for Phonegap (Cordova) mobile application.