AngularJS wrapper around the Couchbase Lite REST API