Started refactoring of Subscriber Dashboard
diff --git a/views/ngXosViews/subscribers/src/js/main.js b/views/ngXosViews/subscribers/src/js/main.js
new file mode 100644
index 0000000..6665b6d
--- /dev/null
+++ b/views/ngXosViews/subscribers/src/js/main.js
@@ -0,0 +1,66 @@
+'use strict';
+
+angular.module('xos.subscribers', [
+  'ngResource',
+  'ngCookies',
+  'ui.router',
+  'xos.helpers'
+])
+.config(($stateProvider) => {
+  $stateProvider
+  .state('user-list', {
+    url: '/',
+    template: '<subscribers-list></subscribers-list>'
+  });
+})
+.config(function($httpProvider){
+  $httpProvider.interceptors.push('NoHyperlinks');
+})
+.directive('subscribersList', function(){
+  return {
+    restrict: 'E',
+    scope: {},
+    bindToController: true,
+    controllerAs: 'vm',
+    templateUrl: 'templates/subscribers-list.tpl.html',
+    controller: function(Subscribers){
+
+      this.tableConfig = {
+        filter: 'field',
+        order: true,
+        pagination: {
+          pageSize: 10
+        },
+        columns: [
+          {
+            label: 'Name',
+            prop: 'humanReadableName'
+          },
+          {
+            label: 'Identity',
+            prop: 'identity',
+            type: 'object'
+          },
+          {
+            label: 'Related Info',
+            prop: 'related',
+            type: 'object'
+          }
+        ]
+      };
+
+      this.smartTableConfig = {
+        resource: 'Subscribers'
+      };
+      
+      // retrieving user list
+      Subscribers.query().$promise
+      .then((users) => {
+        this.users = users;
+      })
+      .catch((e) => {
+        throw new Error(e);
+      });
+    }
+  };
+});
\ No newline at end of file