blob: 060d5655d84569a694cc860b483c00484571df9f [file] [log] [blame]
/**
* A module for the overview
*
* @module app/overview/index
* @exports app/overview/index
*/
window.angular && (function(angular) {
'use strict';
angular
.module('app.overview', ['ngRoute', 'app.common.services'])
// Route configuration
.config([
'$routeProvider',
function($routeProvider) {
$routeProvider
.when('/overview/server', {
'template':
require('./controllers/system-overview-controller.html'),
'controller': 'systemOverviewController',
authenticated: true
})
.when('/overview', {
'template':
require('./controllers/system-overview-controller.html'),
'controller': 'systemOverviewController',
authenticated: true
});
}
]);
})(window.angular);