Add APIs needed by phonegap-angular-client