Simplify Identity
This commit is contained in:
parent
7676509fcd
commit
211ebb0e43
3 changed files with 37 additions and 18 deletions
|
@ -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(){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue