blob: 6f78188d8c038935cbea0dcf875ff8d96c8946f5 [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
6 * @version 0.0.1
7 */
8
9window.angular && (function (angular) {
10 'use strict';
11
12 angular
13 .module('app.overview', [
14 'ngRoute',
15 'app.constants',
16 'app.common.services'
17 ])
18 // Route configuration
19 .config(['$routeProvider', function ($routeProvider) {
20 $routeProvider
Michael Davis9dd479d2017-08-18 16:35:00 -050021 .when('/overview/server', {
Iftekharul Islam99d199f2017-03-24 15:28:25 -050022 'templateUrl': 'overview/controllers/system-overview-controller.html',
23 'controller': 'systemOverviewController',
24 authenticated: true
Iftekharul Islamcd789502017-04-19 14:37:55 -050025 })
26 .when('/overview', {
27 'templateUrl': 'overview/controllers/system-overview-controller.html',
28 'controller': 'systemOverviewController',
29 authenticated: true
Iftekharul Islam99d199f2017-03-24 15:28:25 -050030 });
31 }]);
32
33})(window.angular);