# Custom plugin with cordova in ionic app

**URL:** <https://forum.ionicframework.com/t/custom-plugin-with-cordova-in-ionic-app/39488>\
**Category:** cordova\
**Created:** [December 18, 2015, 6:27am UTC](https://forum.ionicframework.com/t/custom-plugin-with-cordova-in-ionic-app/39488 "2015-12-18T06:27:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anjanasaju](https://avatars.discourse-cdn.com/v4/letter/a/bbce88/32.png) [@anjanasaju](https://forum.ionicframework.com/u/anjanasaju)\
**Post date:** [December 18, 2015, 6:27am UTC](https://forum.ionicframework.com/t/custom-plugin-with-cordova-in-ionic-app/39488/1 "2015-12-18T06:27:05Z")

</div>

Hi  
Any one know how to add custom plugin with ngcordova ?

I could get the existing plugin details, for ex, device information.

Now I have created my own custom plugin and installed via plugman. But not sure how to access inside ionic

---

<div class="post-metadata">

**Author:** ![Bas](https://avatars.discourse-cdn.com/v4/letter/b/a587f6/32.png) [@Bas](https://forum.ionicframework.com/u/Bas)\
**Post date:** [December 18, 2015, 9:42am UTC](https://forum.ionicframework.com/t/custom-plugin-with-cordova-in-ionic-app/39488/2 "2015-12-18T09:42:09Z")

</div>

Just look at the implementation for the various existing plugins and follow that logic. You can find examples here:

> **[ionic-team/ng-cordova](https://github.com/ionic-team/ng-cordova/tree/master/src/plugins)**
>
> ng-cordova - OBSOLETE: Please move to Ionic Native https://github.com/ionic-team/ionic-native

One of the most basic implementations would be this one:

> <https://github.com/ionic-team/ng-cordova/blob/master/src/plugins/appVersion.js>

It really is nothing more than a AngularJS Q promise wrapper to your implemented function(s)
