Lines Matching full:scope
13 '$scope', '$window', 'APIUtils', 'dataService', 'Constants', '$q',
14 function($scope, $window, APIUtils, dataService, Constants, $q) { argument
15 $scope.dataService = dataService;
16 $scope.dropdown_selected = false;
17 $scope.logs = [];
18 $scope.server_info = {};
19 $scope.bmc_firmware = '';
20 $scope.bmc_time = '';
21 $scope.server_firmware = '';
22 $scope.power_consumption = '';
23 $scope.power_cap = '';
24 $scope.bmc_ip_addresses = [];
25 $scope.loading = false;
26 $scope.edit_hostname = false;
27 $scope.newHostname = '';
32 $scope.loading = true;
36 $scope.logs = data.data.filter(function(log) {
46 $scope.bmc_firmware = data.bmcActiveVersion;
47 $scope.server_firmware = data.hostActiveVersion;
67 $scope.bmc_time = data.data.Elapsed / 1000;
75 $scope.server_info = data.data;
83 $scope.power_consumption = data;
92 $scope.power_cap = Constants.POWER_CAP_TEXT.disabled;
94 $scope.power_cap =
106 $scope.bmc_ip_addresses = data.formatted_data.ip_addresses.ipv4;
107 $scope.newHostname = data.hostname;
125 $scope.loading = false;
129 $scope.toggleLED = function() {
141 $scope.saveHostname = function(hostname) {
142 $scope.edit_hostname = false;
143 $scope.loading = true;
153 $scope.loading = false;
156 $scope.getEventLogTitle = function(event) {