A sample Plugin for Cordova/Ionic