home links as buttons
This commit is contained in:
parent
7bba75a20a
commit
90195c0f38
4 changed files with 16 additions and 14 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue