Simplify Identity

This commit is contained in:
manzerbredes 2016-02-24 15:02:14 +01:00
parent 7676509fcd
commit 211ebb0e43
3 changed files with 37 additions and 18 deletions

View file

@ -10,7 +10,7 @@ mainApp.controller('statusCtrl', ['$scope','Identity', '$rootScope', function ($
{
// Give profile to model
$scope.profile=Identity.profile;
$scope.profile=Identity.getProfile();
// Function to logout
$scope.logout=function(){