Implement a barcode scanner using Ionic Framework