(js) Expose 'activeUser' through navController

pull/91/head
Francis Lachapelle 2015-07-14 16:12:07 -04:00
parent aee229e700
commit dbb8acca9a
1 changed files with 4 additions and 2 deletions

View File

@ -9,8 +9,10 @@
/**
* @ngInject
*/
navController.$inject = ['$scope', '$timeout', '$interval', '$http', '$mdSidenav', '$mdBottomSheet', '$mdMedia', '$log', 'sgConstant'];
function navController($scope, $timeout, $interval, $http, $mdSidenav, $mdBottomSheet, $mdMedia, $log, sgConstant) {
navController.$inject = ['$scope', '$timeout', '$interval', '$http', '$mdSidenav', '$mdBottomSheet', '$mdMedia', '$log', 'sgConstant', 'sgSettings'];
function navController($scope, $timeout, $interval, $http, $mdSidenav, $mdBottomSheet, $mdMedia, $log, sgConstant, sgSettings) {
$scope.activeUser = sgSettings.activeUser;
// Show current day in top bar
$scope.currentDay = window.currentDay;