Refactored around to have same style in code
diff --git a/views/ngXosViews/subscriberPortal/src/cord.js b/views/ngXosViews/subscriberPortal/src/cord.js
index 5406bd2..0f3649b 100644
--- a/views/ngXosViews/subscriberPortal/src/cord.js
+++ b/views/ngXosViews/subscriberPortal/src/cord.js
@@ -59,14 +59,13 @@
redirectTo: '/login'
});
}])
- .controller('CordCtrl', ['$scope', '$location', 'cordConfig',
- function ($scope, $location, cordConfig) {
- $scope.shared = {
- url: 'http://' + $location.host() + ':' + $location.port()
- };
- $scope.shared.userActivity = cordConfig.userActivity;
- $scope.page = {};
- }])
+ .controller('CordCtrl', function ($scope, $location, cordConfig) {
+ $scope.shared = {
+ url: 'http://' + $location.host() + ':' + $location.port()
+ };
+ $scope.shared.userActivity = cordConfig.userActivity;
+ $scope.page = {};
+ })
.constant('cordConfig', {
url: '',
userActivity: {}, //check if really needed