Michael Davis | aeedf9e | 2017-04-06 14:35:56 -0500 | [diff] [blame] | 1 | /** |
Iftekharul Islam | cd78950 | 2017-04-19 14:37:55 -0500 | [diff] [blame^] | 2 | * Controller for sensors |
Michael Davis | aeedf9e | 2017-04-06 14:35:56 -0500 | [diff] [blame] | 3 | * |
Iftekharul Islam | cd78950 | 2017-04-19 14:37:55 -0500 | [diff] [blame^] | 4 | * @module app/serverHealth |
| 5 | * @exports sensorsController |
| 6 | * @name sensorsController |
Michael Davis | aeedf9e | 2017-04-06 14:35:56 -0500 | [diff] [blame] | 7 | * @version 0.1.0 |
| 8 | */ |
| 9 | |
| 10 | window.angular && (function (angular) { |
| 11 | 'use strict'; |
| 12 | |
| 13 | angular |
| 14 | .module('app.overview') |
| 15 | .controller('sensorsController', [ |
| 16 | '$scope', |
| 17 | '$log', |
| 18 | '$window', |
| 19 | 'APIUtils', |
| 20 | 'dataService', |
| 21 | function($scope, $log, $window, APIUtils, dataService, userModel){ |
| 22 | $scope.dataService = dataService; |
| 23 | |
| 24 | $scope.dropdown_selected = false; |
| 25 | |
Iftekharul Islam | cd78950 | 2017-04-19 14:37:55 -0500 | [diff] [blame^] | 26 | $scope.$log = $log; |
| 27 | $scope.message = 'Hello World!'; |
Michael Davis | aeedf9e | 2017-04-06 14:35:56 -0500 | [diff] [blame] | 28 | } |
| 29 | ] |
| 30 | ); |
| 31 | |
Iftekharul Islam | cd78950 | 2017-04-19 14:37:55 -0500 | [diff] [blame^] | 32 | })(angular); |