diff --git a/app/scripts/controllers.js b/app/scripts/controllers.js index 1354200..2dcd8c5 100755 --- a/app/scripts/controllers.js +++ b/app/scripts/controllers.js @@ -12,6 +12,9 @@ function MainCtrl($scope, $location, $state, $rootScope, LoginService) { $scope.helloText = 'Welcome in SeedProject'; $scope.descriptionText = 'It is an application skeleton for a typical AngularJS web app. You can use it to quickly bootstrap your angular webapp projects and dev environment for these projects.'; + LoginService.getActiveUser().then(function(result) { + $scope.pendingUser = result; + }) $scope.logout = function(){ console.log("Called") LoginService.logout(); diff --git a/app/scripts/directives.js b/app/scripts/directives.js index 22002c2..d0dd772 100755 --- a/app/scripts/directives.js +++ b/app/scripts/directives.js @@ -12,9 +12,9 @@ function pageTitle($rootScope, $timeout) { link: function(scope, element) { var listener = function(event, toState, toParams, fromState, fromParams) { // Default title - load on Dashboard 1 - var title = 'Acuefuel'; + var title = 'Acufuel'; // Create your own title pattern - if (toState.data && toState.data.pageTitle) title = 'INSPINIA | ' + toState.data.pageTitle; + if (toState.data && toState.data.pageTitle) title = 'ACUFUEL | ' + toState.data.pageTitle; $timeout(function() { element.text(title); }); diff --git a/app/views/common/topnavbar.html b/app/views/common/topnavbar.html index a9a4342..70e402e 100755 --- a/app/views/common/topnavbar.html +++ b/app/views/common/topnavbar.html @@ -81,7 +81,7 @@