Added enode list
diff --git a/mCordPortal/src/app/view/enode-list/e-node-list.tpl.html b/mCordPortal/src/app/view/enode-list/e-node-list.tpl.html
new file mode 100644
index 0000000..a923d26
--- /dev/null
+++ b/mCordPortal/src/app/view/enode-list/e-node-list.tpl.html
@@ -0,0 +1,3 @@
+<div class="container-fluid">
+ <xos-table config="vm.tableConfig" data="vm.enodes"></xos-table>
+</div>
\ No newline at end of file
diff --git a/mCordPortal/src/app/view/enode-list/enode-list.js b/mCordPortal/src/app/view/enode-list/enode-list.js
new file mode 100644
index 0000000..3760223
--- /dev/null
+++ b/mCordPortal/src/app/view/enode-list/enode-list.js
@@ -0,0 +1,44 @@
+(function () {
+ 'use strict';
+
+ angular.module('mCord')
+ .directive('eNodeList', function () {
+ return {
+ restrict: 'E',
+ scope: {},
+ controllerAs: 'vm',
+ templateUrl: 'app/view/enode-list/e-node-list.tpl.html',
+ controller: function(Enodeb){
+
+ Enodeb.query().$promise
+ .then((enodes) => {
+ console.log(enodes);
+ this.enodes = enodes;
+ })
+
+ this.tableConfig = {
+ columns: [
+ {
+ label: '#',
+ prop: 'eNBId'
+ },
+ {
+ label: 'Ip Address',
+ prop: 'IpAddr'
+ },
+ {
+ label: 'Description',
+ prop: 'Description'
+ },
+ {
+ label: 'Status',
+ prop: 'Status',
+ type: 'boolean'
+ }
+ ]
+ }
+
+ }
+ }
+ });
+}());
\ No newline at end of file