A promise-orientated Angular.js wrapper around the Cordova API