home links as buttons

This commit is contained in:
Matias Alejo Garcia 2014-12-06 17:23:26 -03:00
commit 90195c0f38
4 changed files with 16 additions and 14 deletions

View file

@ -2,6 +2,10 @@
angular.module('copayApp.controllers').controller('HomeController', function($scope, $rootScope, $location, $timeout, notification, identityService, Compatibility, pinService, applicationService, isMobile) {
// Global functions (TODO should be somewere else)
$rootScope.go = function (path) {
$location.path(path);
};
var _credentials, _firstpin;
$scope.init = function() {

View file

@ -26,10 +26,6 @@ angular.module('copayApp.controllers').controller('SidebarController', function(
'link': 'more'
}];
$scope.go = function (path) {
$location.path(path);
};
$scope.signout = function() {
$rootScope.signingOut = true;
identityService.signout();