refactory of the socket service

This commit is contained in:
Mario Colque 2014-04-18 19:08:01 -03:00
commit 0455d5ee69
12 changed files with 94 additions and 137 deletions

View file

@ -1,11 +1,9 @@
'use strict';
angular.module('copay.send').controller('SendController',
function($scope, $rootScope, $location, Socket, controllerUtils) {
function($scope, $rootScope, $location) {
$scope.title = 'Send';
controllerUtils.handleTransactionByAddress($scope);
$scope.sendTest = function() {
var w = $rootScope.wallet;
w.createTx( 'mimoZNLcP2rrMRgdeX5PSnR7AjCqQveZZ4', '12345',function() {