Iftekharul Islam | cd78950 | 2017-04-19 14:37:55 -0500 | [diff] [blame] | 1 | /** |
| 2 | * Controller for server |
| 3 | * |
| 4 | * @module app/serverHealth |
| 5 | * @exports powerConsumptionController |
| 6 | * @name powerConsumptionController |
Iftekharul Islam | cd78950 | 2017-04-19 14:37:55 -0500 | [diff] [blame] | 7 | */ |
| 8 | |
Andrew Geissler | ba5e3f3 | 2018-05-24 10:58:00 -0700 | [diff] [blame] | 9 | window.angular && (function(angular) { |
| 10 | 'use strict'; |
Iftekharul Islam | cd78950 | 2017-04-19 14:37:55 -0500 | [diff] [blame] | 11 | |
Andrew Geissler | d27bb13 | 2018-05-24 11:07:27 -0700 | [diff] [blame^] | 12 | angular.module('app.serverHealth').controller('powerConsumptionController', [ |
| 13 | '$scope', '$window', 'APIUtils', 'dataService', |
| 14 | function($scope, $window, APIUtils, dataService) { |
| 15 | $scope.dataService = dataService; |
| 16 | } |
| 17 | ]); |
Iftekharul Islam | cd78950 | 2017-04-19 14:37:55 -0500 | [diff] [blame] | 18 | |
| 19 | })(angular); |