Couchbase API for Ionic 2 and Angular 2

I got tutorials for using Couch base with third party wrapper classes.
I want to use Couch base API myself to create db in IONIC 2 & Angular 2 hybrid project.
But I am not able see how to use it for hybrid app instead of using any wrapper (as it will create dependency).
Please help me here how to use API directly.

Hey @dipsan22,

The Couchbase PhoneGap (Apache Cordova) plugin exposes a RESTful API. You can communicate to that directly from your Ionic application if you’d like. I made those wrappers to make it easier for people who’d rather not use HTTP for everything.

It is not a requirement. If you’d like to use the API directly, you might check out this documentation:

https://developer.couchbase.com/documentation/mobile/current/references/couchbase-lite/rest-api/index.html

Best,