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(['app', 'userSessionService', 'authentication_service'], function (app) {
"use strict";
app.controller('FooterController', function ($scope, userSessionService, authenticationService) {
$scope.userName = null;
$scope.advocateForName = null;
$scope.facilityName = null;
if (authenticationService.isAuthenticated()) {
userSessionService.fetch().then(function (user) {
loadUserDetails(user);
});
}
function loadUserDetails(user) {
if (user) {
$scope.user = user;
$scope.authenticated = ($scope.user || {}).authenticated;
}
}
});
});