- Eliminated one of the two api calls happening when barcode is scanned. Utilized localStorage to store the scanned user so after we transition, the user controller doesn't have to make another api call.
- In case a random barcode was scanned, user can choose to try again. To accomodate this, moved the first api call to happen before the transition to the user screen.
- Fixed the case where databits were displayed twice after scanning barcode.
- Fixed variable type in user.js. ($scope.databit.imageUri)
- Minor changes.