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