Ready to start development
diff --git a/mCordPortal/src/app/view/home/home.js b/mCordPortal/src/app/view/home/home.js
index 1e32c0f..6e6b4a7 100644
--- a/mCordPortal/src/app/view/home/home.js
+++ b/mCordPortal/src/app/view/home/home.js
@@ -17,22 +17,16 @@
(function () {
'use strict';
- angular.module('cordHome', [])
- .controller('CordHomeCtrl', function ($log, $scope, $cookies, cordConfig, SubscriberUsers) {
-
- $scope.page.curr = 'dashboard';
-
- $scope.bundle_name = cordConfig.bundles[cordConfig.activeBundle].name;
- $scope.bundle_desc = cordConfig.bundles[cordConfig.activeBundle].desc;
-
- SubscriberUsers.query({subscriberId: $cookies.get('subscriberId')}).$promise
- .then(function(res){
- $scope.users = res;
- })
- .catch(function(){
- $log.error('Problem with resource', SubscriberUsers);
- });
-
- $log.debug('Cord Home Ctrl has been created.');
+ angular.module('mCord')
+ .directive('eNodeMap', function () {
+ return {
+ restric: 'E',
+ scope: {},
+ controllerAs: 'vm',
+ templateUrl: 'app/view/home/home.html',
+ controller: function($log){
+ $log.debug('Cord Home Ctrl has been created.');
+ }
+ }
});
}());