blob: 3a07ed8eacc8cd84e4cd90d5bb13420ae5a44e1d [file] [log] [blame]
Iftekharul Islam99d199f2017-03-24 15:28:25 -05001/**
2 * A module for the overview
3 *
4 * @module app/overview/index
5 * @exports app/overview/index
Iftekharul Islam99d199f2017-03-24 15:28:25 -05006 */
7
8window.angular && (function (angular) {
9 'use strict';
10
11 angular
12 .module('app.overview', [
13 'ngRoute',
14 'app.constants',
15 'app.common.services'
16 ])
17 // Route configuration
18 .config(['$routeProvider', function ($routeProvider) {
19 $routeProvider
Michael Davis9dd479d2017-08-18 16:35:00 -050020 .when('/overview/server', {
Ed Tanousbbcf6702017-10-06 13:53:06 -070021 'template': require('./controllers/system-overview-controller.html'),
Iftekharul Islam99d199f2017-03-24 15:28:25 -050022 'controller': 'systemOverviewController',
23 authenticated: true
Iftekharul Islamcd789502017-04-19 14:37:55 -050024 })
25 .when('/overview', {
Ed Tanousbbcf6702017-10-06 13:53:06 -070026 'template': require('./controllers/system-overview-controller.html'),
Iftekharul Islamcd789502017-04-19 14:37:55 -050027 'controller': 'systemOverviewController',
28 authenticated: true
Iftekharul Islam99d199f2017-03-24 15:28:25 -050029 });
30 }]);
31
32})(window.angular);