Summary Table

Categories Total Count
PII 0
URL 0
DNS 0
EKL 0
IP 0
PORT 0
VsID 0
CF 0
AI 0
VPD 0
PL 0
Other 0

File Content

define(['angular', 'app', 'moment'], function(angular, app) {
'use strict';
app.controller('VarUtilityController', function($scope, mhpuser, globalDelayTracker, focusService, previousState, activeInstitution) {
$scope.globalDelayTracker = globalDelayTracker;

$scope.today = new Date();

$scope.userFirstLastName = mhpuser.firstName + ' ' + mhpuser.lastName;
$scope.facilityName = activeInstitution.divisionName;

// while the authorization page is under a module,
// set focus after template has rendered
var stopWatch = $scope.$watch('globalDelayTracker.active()', function(newValue, oldValue) {
focusService.focusMain();

previousState.isFirstAppRoute = false;
stopWatch();
});
});
});