webapp.scripts.components.navbar.navbar.controller.js Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of centraldogma-server Show documentation
Show all versions of centraldogma-server Show documentation
Highly-available version-controlled service configuration repository based on Git, ZooKeeper and HTTP/2 (centraldogma-server)
'use strict';
angular.module('CentralDogmaAdmin')
.controller('NavbarController',
function ($scope, $rootScope, $state, $q, $uibModal, $window,
Title, Principal) {
$scope.isAuthenticated = Principal.isAuthenticated;
Title.get().then(function (data) {
$scope.title = data.title;
$scope.hostname = data.hostname;
});
});