Ionic View doesn't load my phonegap/cordova plugin

I have a app with a CouchBase plugin for cordova. When I run it directly in a device it works fine the problem arise when I run it from Ionic View. The Ionic View doesn’t load the CouchBase plugin and it crashes.
Any idea why how to solve this problem.
Thank you.