Removed constants from app.js, now takes the values from config.js and makes the injectable.

This commit is contained in:
ssotomayor 2014-10-14 17:03:09 -03:00
commit b25633eb70
2 changed files with 2 additions and 5 deletions

View file

@ -37,7 +37,7 @@ angular.module('copayApp.controllers').controller('CreateController',
});
$scope.showNetwork = function(){
return $scope.networkUrl != defaults.livenetUrl && $scope.networkUrl != defaults.testnetUrl;
return $scope.networkUrl != defaults.network.livenet.url && $scope.networkUrl != defaults.network.testnet.url;
};
$scope.create = function(form) {