1/**
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
21                .when('/overview/bmc-reboot', {
22                    'templateUrl': 'overview/controllers/bmc-reboot-controller.html',
23                    'controller': 'bmcRebootController',
24                    authenticated: true
25                })
26                .when('/overview/log', {
27                    'templateUrl': 'overview/controllers/log-controller.html',
28                    'controller': 'logController',
29                    authenticated: true
30                })
31                .when('/overview/power-operations', {
32                    'templateUrl': 'overview/controllers/power-operations-controller.html',
33                    'controller': 'powerOperationsController',
34                    authenticated: true
35                })
36                .when('/overview/unit-id', {
37                    'templateUrl': 'overview/controllers/unit-id-controller.html',
38                    'controller': 'unitIdController',
39                    authenticated: true
40                })
41                .when('/overview/system', {
42                    'templateUrl': 'overview/controllers/system-overview-controller.html',
43                    'controller': 'systemOverviewController',
44                    authenticated: true
45                });
46        }]);
47
48})(window.angular);
49