summaryrefslogtreecommitdiff
path: root/client/js/controllers/status.js
diff options
context:
space:
mode:
Diffstat (limited to 'client/js/controllers/status.js')
-rw-r--r--client/js/controllers/status.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/client/js/controllers/status.js b/client/js/controllers/status.js
index 6bc602a..e01df34 100644
--- a/client/js/controllers/status.js
+++ b/client/js/controllers/status.js
@@ -8,8 +8,11 @@
*/
mainApp.controller('statusCtrl', ['$scope','Identity', '$rootScope', function ($scope, Identity, $rootScope)
{
+
+ // Give profile to model
$scope.profile=Identity.profile;
-
+
+ // Function to logout
$scope.logout=function(){
Identity.logout();
$rootScope.$broadcast('logoutEvent');