Revert "Remove unused dataService"
This reverts commit e13275b837ed38b7e8553316accedb51b32ef37b.
dataService is used in powerOn(), warmReboot() and
isServerOff().
Change-Id: I8635ac88f93b6354ea7d352f92c9a7f4281e21a5
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
diff --git a/app/configuration/controllers/firmware-controller.js b/app/configuration/controllers/firmware-controller.js
index 50deff3..04a7c78 100644
--- a/app/configuration/controllers/firmware-controller.js
+++ b/app/configuration/controllers/firmware-controller.js
@@ -10,11 +10,13 @@
'use strict';
angular.module('app.configuration').controller('firmwareController', [
- '$scope', '$window', 'APIUtils', '$location', '$anchorScroll', 'Constants',
- '$interval', '$q', '$timeout', '$interpolate',
+ '$scope', '$window', 'APIUtils', 'dataService', '$location',
+ '$anchorScroll', 'Constants', '$interval', '$q', '$timeout', '$interpolate',
function(
- $scope, $window, APIUtils, $location, $anchorScroll, Constants,
- $interval, $q, $timeout, $interpolate) {
+ $scope, $window, APIUtils, dataService, $location, $anchorScroll,
+ Constants, $interval, $q, $timeout, $interpolate) {
+ $scope.dataService = dataService;
+
// Scroll to target anchor
$scope.gotoAnchor = function() {
$location.hash('upload');