1/**
2 * A module for the overview
3 *
4 * @module app/overview/index
5 * @exports app/overview/index
6 */
7
8window.angular && (function(angular) {
9  'use strict';
10
11  angular
12      .module('app.overview', ['ngRoute', 'app.common.services'])
13      // 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      ]);
32
33})(window.angular);
34