First Bitpay Card Integration
This commit is contained in:
parent
4aa6e46ec3
commit
54e3545f6b
71 changed files with 3181 additions and 0 deletions
16
src/js/controllers/modals/bitpayCardConfirmation.js
Normal file
16
src/js/controllers/modals/bitpayCardConfirmation.js
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('copayApp.controllers').controller('bitpayCardConfirmationController', function($scope, $timeout, go, bitpayCardService) {
|
||||
|
||||
$scope.ok = function() {
|
||||
bitpayCardService.logout(function() {
|
||||
go.path('bitpayCard');
|
||||
});
|
||||
$scope.cancel();
|
||||
};
|
||||
|
||||
$scope.cancel = function() {
|
||||
$scope.bitpayCardConfirmationModal.hide();
|
||||
};
|
||||
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue