mirror of https://github.com/BTCPrivate/copay.git
13 lines
388 B
JavaScript
13 lines
388 B
JavaScript
'use strict';
|
|
|
|
angular.module('copayApp.controllers').controller('HomeController', function($scope, $rootScope, $location, walletFactory, notification, controllerUtils) {
|
|
|
|
controllerUtils.redirIfLogged();
|
|
|
|
$scope.retreiving = true;
|
|
walletFactory.getWallets(function(err,ret) {
|
|
$scope.retreiving = false;
|
|
$scope.hasWallets = (ret && ret.length > 0) ? true : false;
|
|
});
|
|
});
|