options for running with local peerJs server. Ux fixes

This commit is contained in:
Matias Alejo Garcia 2014-04-17 16:27:15 -03:00
commit 1e64031ec3
7 changed files with 85 additions and 31 deletions

View file

@ -26,10 +26,12 @@ angular.module('copay.signin').controller('SigninController',
};
$scope.join = function(cid) {
console.log('[signin.js.42:join:]'); //TODO
$scope.loading = true;
walletFactory.network.on('openError', function() {
controllerUtils.onError($scope);
$rootScope.$digest();
});
walletFactory.connectTo(cid, function(w) {
console.log('[signin.js.50]'); //TODO
controllerUtils.setupUxHandlers(w);
w.netStart();
});