Refactor: Dashboard module name and refactor dependencies

This commit is contained in:
Frédéric Vachon 2015-02-10 10:47:31 -05:00
parent b595bdb559
commit 81f7b4980d
3 changed files with 6 additions and 9 deletions

View File

@ -17,10 +17,8 @@ angular.module('adagios', [
'ngRoute', 'ngRoute',
'adagios.sidebar', 'adagios.sidebar',
'adagios.topbar', 'adagios.topbar',
'adagios.tactical',
'adagios.table',
'adagios.filters',
'adagios.config', 'adagios.config',
'adagios.view.dashboard',
'adagios.view.hosts', 'adagios.view.hosts',
'adagios.view.services' 'adagios.view.services'
]) ])

View File

@ -1,6 +1,7 @@
'use strict'; 'use strict';
angular.module('adagios.table', ['adagios.live', angular.module('adagios.table', ['adagios.live',
'adagios.filters',
'adagios.table.cell_host', 'adagios.table.cell_host',
'adagios.table.cell_duration', 'adagios.table.cell_duration',
'adagios.table.cell_service_check', 'adagios.table.cell_service_check',

View File

@ -1,11 +1,9 @@
'use strict'; 'use strict';
angular.module('adagios.tactical', ['ngRoute', angular.module('adagios.view.dashboard', ['ngRoute',
'adagios.tactical.status_overview', 'adagios.tactical',
'adagios.tactical.current_health', 'adagios.table'
'adagios.tactical.top_alert_producers', ])
'adagios.table'
])
.value('dashboardConfig', {}) .value('dashboardConfig', {})