Added proxy and emetting data every 10 sec
diff --git a/xos-apps/auto-scale/gui/src/js/autoscaling.service.js b/xos-apps/auto-scale/gui/src/js/autoscaling.service.js
new file mode 100644
index 0000000..4146f19
--- /dev/null
+++ b/xos-apps/auto-scale/gui/src/js/autoscaling.service.js
@@ -0,0 +1,17 @@
+'use strict';
+
+angular.module('autoscaling')
+.service('Autoscaling', function($http, $interval, $rootScope){
+
+  const pollingFrequency = 1;
+  var pollinginterval;
+
+  this.getAutoscalingData = () => {
+    pollinginterval = $interval(() => {
+      $http.get('/autoscaledata')
+      .then((res) => {
+        $rootScope.$emit('autoscaling.update', res.data);
+      });
+    }, pollingFrequency * 1000)
+  };
+});
\ No newline at end of file