blob: 3554c0f50730701b509a9b033c3846c8d4e330f7 [file] [log] [blame]
Ed Tanouscc5a37f2017-05-11 10:27:23 -07001angular.module('bmcApp').controller('sensorController', [
2 '$scope', '$resource',
3 function($scope, $resource) {
4
5 var systeminfo = $resource("/sensortest");
6 systeminfo.get(function(sensor_values) {
7 $scope.sensor_values = sensor_values;
8 });
9
10 }
11]);