Add Power Usage Page

Created a new page, "Manage Power Usage".
This page is under the "Server control" tab.
This new page currently just displays the power consumption.
Future commits will allow the user to set the power cap from
this page. One day, things like power consumption trending
data could also be on this page.

There was a blank unused controller which was for similar things,
removed it.

Tested: See the page and the consumption data. Uploaded screenshots
        to openbmc/openbmc#3221
Change-Id: I9f97c58a086f34c1c1990c03d5e05b081619bd5c
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
diff --git a/app/server-control/controllers/power-usage-controller.js b/app/server-control/controllers/power-usage-controller.js
new file mode 100644
index 0000000..5ba8bf0
--- /dev/null
+++ b/app/server-control/controllers/power-usage-controller.js
@@ -0,0 +1,41 @@
+/**
+ * Controller for power-usage
+ *
+ * @module app/serverControl
+ * @exports powerUsageController
+ * @name powerUsageController
+ */
+
+window.angular && (function(angular) {
+  'use strict';
+
+  angular.module('app.serverControl').controller('powerUsageController', [
+    '$scope', '$window', 'APIUtils', 'dataService', '$q',
+    function($scope, $window, APIUtils, dataService, $q) {
+      $scope.dataService = dataService;
+      $scope.power_consumption = '';
+      $scope.loading = false;
+      loadPowerData();
+
+      function loadPowerData() {
+        $scope.loading = true;
+        var getPowerConsumptionPromise = APIUtils.getPowerConsumption().then(
+            function(data) {
+              $scope.power_consumption = data;
+            },
+            function(error) {
+              console.log(JSON.stringify(error));
+            });
+
+        var promises = [
+          getPowerConsumptionPromise,
+        ];
+
+        $q.all(promises).finally(function() {
+          $scope.loading = false;
+        });
+      }
+    }
+  ]);
+
+})(angular);