Wallet/js/controllers/send.js

15 lines
429 B
JavaScript
Raw Normal View History

2014-03-26 09:18:42 -03:00
'use strict';
angular.module('copay.send').controller('SendController',
function($scope, $rootScope, $location, Socket, controllerUtils) {
2014-03-26 09:18:42 -03:00
$scope.title = 'Send';
controllerUtils.handleTransactionByAddress($scope);
$scope.sendTest = function() {
2014-04-15 12:52:28 -03:00
var w = $rootScope.wallet;
w.createTx( 'mimoZNLcP2rrMRgdeX5PSnR7AjCqQveZZ4', '12345',function() {
2014-04-16 17:50:10 -03:00
$rootScope.$digest();
});
};
2014-03-26 09:18:42 -03:00
});