2014-07-23 17:10:02 -03:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
|
|
angular.module('copayApp.controllers').controller('HomeController',
|
2014-09-01 23:44:35 -03:00
|
|
|
function($scope, $rootScope, $location, walletFactory, notification, controllerUtils) {
|
2014-08-06 18:41:37 -03:00
|
|
|
|
|
|
|
|
controllerUtils.redirIfLogged();
|
2014-08-04 11:27:46 -03:00
|
|
|
|
2014-07-23 17:10:02 -03:00
|
|
|
$scope.loading = false;
|
2014-08-06 16:51:45 -03:00
|
|
|
$scope.hasWallets = (walletFactory.getWallets() && walletFactory.getWallets().length > 0) ? true : false;
|
2014-07-23 17:10:02 -03:00
|
|
|
});
|