migrated to ngcordova
messing with barcode scanner