blob: 060d5655d84569a694cc860b483c00484571df9f [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
Andrew Geisslerba5e3f32018-05-24 10:58:00 -07008window.angular && (function(angular) {
9 'use strict';
Iftekharul Islam99d199f2017-03-24 15:28:25 -050010
Andrew Geisslerba5e3f32018-05-24 10:58:00 -070011 angular
Gunnar Mills2b9a0d92018-07-11 15:10:08 -050012 .module('app.overview', ['ngRoute', 'app.common.services'])
Andrew Geisslerd27bb132018-05-24 11:07:27 -070013 // Route configuration
14 .config([
15 '$routeProvider',
16 function($routeProvider) {
17 $routeProvider
18 .when('/overview/server', {
19 'template':
20 require('./controllers/system-overview-controller.html'),
21 'controller': 'systemOverviewController',
22 authenticated: true
23 })
24 .when('/overview', {
25 'template':
26 require('./controllers/system-overview-controller.html'),
27 'controller': 'systemOverviewController',
28 authenticated: true
29 });
30 }
31 ]);
Iftekharul Islam99d199f2017-03-24 15:28:25 -050032})(window.angular);