PageSourceSearch

https://edium-studie.de/app/restricted/clinic/topBar/topBarController.js

js edium-studie.de collected 2026-10-08 23:37:07 UTC 966 bytes, 41 lines download raw bytes

1'use strict';
2
3appCore.state['app.restricted.clinic.topBar'] =
4	{
5		abstract: true,
6		url: '/topBar',
7		parent: 'app.restricted.clinic',
8		views:
9		{
10			contentView:
11			{
12				templateUrl: 'restricted.clinic.topBar.topBar'
13			}
14		}
15	};
16
17
18(function () {
19	angular.module('app.clinic').controller('app.clinic.topBarController',
20		[
21			'$log', '$scope', '$location', 'notifications', '$rootScope', '$state', 'centersService',
22			function ($log, $scope, $location, notifications, $rootScope, $state, centersService) {
23
24				$scope.loggedInCenterId = $rootScope.auth.userId;
25
26				$scope.center = [];
27
28				centersService.get($scope.loggedInCenterId)
29					.success(function (data) {
30						$scope.center = data;
31						$scope.centerName = $scope.center.CenterName;
32						//$log.info("center", data);
33					})
34					.error(function () {
35						$log.error("Error getting center for id", $scope.loggedInCenterId);
36					});
37
38			}
39		]
40	);
41})();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.