Wallet/src/js/controllers/modals/bitpayCardConfirmation.js

16 lines
386 B
JavaScript
Raw Normal View History

2016-08-10 15:29:31 -03:00
'use strict';
2016-08-23 08:31:48 -03:00
angular.module('copayApp.controllers').controller('bitpayCardConfirmationController', function($scope, $timeout, $state, bitpayCardService) {
2016-08-10 15:29:31 -03:00
$scope.ok = function() {
bitpayCardService.logout(function() {
2016-08-23 08:31:48 -03:00
$state.go('bitpayCard.main');
2016-08-10 15:29:31 -03:00
});
$scope.cancel();
};
$scope.cancel = function() {
$scope.bitpayCardConfirmationModal.hide();
};
});