blob: 765cdf5b57c2ca935568a387e8f5a4714a98b573 [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 Davisdfad5d52017-07-20 14:53:46 -050021<<<<<<< HEAD
Iftekharul Islam99d199f2017-03-24 15:28:25 -050022 .when('/overview/system', {
23 'templateUrl': 'overview/controllers/system-overview-controller.html',
24 'controller': 'systemOverviewController',
25 authenticated: true
Iftekharul Islamcd789502017-04-19 14:37:55 -050026 })
27 .when('/overview', {
Michael Davisdfad5d52017-07-20 14:53:46 -050028=======
29 .when('/overview/bmc-reboot', {
30 'templateUrl': 'overview/controllers/bmc-reboot-controller.html',
31 'controller': 'bmcRebootController',
32 authenticated: true
33 })
34 .when('/overview/log', {
35 'templateUrl': 'overview/controllers/log-controller.html',
36 'controller': 'logController',
37 authenticated: true
38 })
39 .when('/overview/power-operations', {
40 'templateUrl': 'overview/controllers/power-operations-controller.html',
41 'controller': 'powerOperationsController',
42 authenticated: true
43 })
44 .when('/overview/unit-id', {
45 'templateUrl': 'overview/controllers/unit-id-controller.html',
46 'controller': 'unitIdController',
47 authenticated: true
48 })
49 .when('/overview/system', {
50>>>>>>> 4c1a3dd... Major update to code structure
Iftekharul Islamcd789502017-04-19 14:37:55 -050051 'templateUrl': 'overview/controllers/system-overview-controller.html',
52 'controller': 'systemOverviewController',
53 authenticated: true
Iftekharul Islam99d199f2017-03-24 15:28:25 -050054 });
55 }]);
56
57})(window.angular);