AngularJS oauth library for use with Apache Cordova projects