Added proxy and emetting data every 10 sec
diff --git a/xos-apps/auto-scale/gui/src/js/autoscaling_details.directive.js b/xos-apps/auto-scale/gui/src/js/autoscaling_details.directive.js
new file mode 100644
index 0000000..e4bd9ef
--- /dev/null
+++ b/xos-apps/auto-scale/gui/src/js/autoscaling_details.directive.js
@@ -0,0 +1,15 @@
+angular.module('autoscaling')
+.directive('serviceContainer', function(lodash){
+ return {
+ restrict: 'E',
+ scope: {},
+ bindToController: true,
+ controllerAs: 'vm',
+ templateUrl: 'templates/service-container.tpl.html',
+ controller: ($rootScope) => {
+ $rootScope.$on('autoscaling.update', (evt, data) => {
+ console.log(data);
+ });
+ }
+ };
+});