An anglar.js wrapper around window.plugins.barcodeScanner for Phonegap/Cordova plugin