incremental
diff --git a/static/js/bmcApp.js b/static/js/bmcApp.js
index 2678ac0..7575e34 100644
--- a/static/js/bmcApp.js
+++ b/static/js/bmcApp.js
@@ -130,6 +130,9 @@
.state(
'ipmi', {url: '/ipmi', templateUrl: 'static/partial-ipmi.html'})
+ .state(
+ 'sensor', {url: '/sensor', templateUrl: 'static/partial-sensor.html'})
+
// ABOUT PAGE AND MULTIPLE NAMED VIEWS =================================
.state('about', {url: '/about', templateUrl: 'static/partial-fruinfo.html'})
diff --git a/static/js/sensorController.js b/static/js/sensorController.js
new file mode 100644
index 0000000..3554c0f
--- /dev/null
+++ b/static/js/sensorController.js
@@ -0,0 +1,11 @@
+angular.module('bmcApp').controller('sensorController', [
+ '$scope', '$resource',
+ function($scope, $resource) {
+
+ var systeminfo = $resource("/sensortest");
+ systeminfo.get(function(sensor_values) {
+ $scope.sensor_values = sensor_values;
+ });
+
+ }
+]);
\ No newline at end of file