This commit is contained in:
Matias Alejo Garcia 2016-08-25 11:18:10 -03:00
commit d5d3f9ee28
No known key found for this signature in database
GPG key ID: 02470DB551277AB3
13 changed files with 310 additions and 119 deletions

View file

@ -0,0 +1,21 @@
'use strict';
angular.module('copayApp.controllers').controller('tabsController', function($log, $scope, $ionicModal, incomingData) {
$scope.onScan = function(data) {
console.log('[tabsController.js.6:data:]',data); //TODO
if (!incomingData.redir(data)) {
$ionicPopup.alert({
title: 'Invalid data',
});
}
}
$scope.setScanFn = function(scanFn) {
$scope.scan = function() {
$log.debug('Scanning...');
scanFn();
};
};
});