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