identity now emits!

This commit is contained in:
Matias Alejo Garcia 2014-11-30 00:31:17 -03:00
commit 3ae6378678
33 changed files with 376 additions and 346 deletions

View file

@ -0,0 +1,17 @@
'use strict';
angular.module('copayApp.services')
.factory('applicationService', function() {
var root = {};
root.restart = function() {
// Go home reloading the application
var hashIndex = window.location.href.indexOf('#!/');
window.location = window.location.href.substr(0, hashIndex);
};
root.reload = function() {
window.location.reload();
};
return root;
});