Correct bugs
This commit is contained in:
parent
b6d7d2c30e
commit
fa5a48bc3a
4 changed files with 17 additions and 24 deletions
|
@ -11,10 +11,10 @@ mainApp.controller('statusCtrl', ['$scope','Identity', '$rootScope', function ($
|
|||
|
||||
// Give profile to model
|
||||
$scope.profile=Identity.getProfile();
|
||||
|
||||
|
||||
// Function to logout
|
||||
$scope.raiseLogoutEvent=function(){
|
||||
$rootScope.$broadcast('logoutEvent');
|
||||
$scope.logout=function(){
|
||||
Identity.logout();
|
||||
};
|
||||
|
||||
}]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue