blob: 3df0666a6c5a2a742c13100e5c50f4fb3943ec82 [file] [log] [blame]
/**
* A module for the serverControl
*
* @module app/server-control/index
* @exports app/server-control/index
* @version 0.0.1
*/
window.angular && (function (angular) {
'use strict';
angular
.module('app.serverControl', [
'ngRoute',
'app.constants',
'app.common.services'
])
// Route configuration
.config(['$routeProvider', function ($routeProvider) {
$routeProvider
.when('/server-control/bmc-reboot', {
'templateUrl': 'server-control/controllers/bmc-reboot-controller.html',
'controller': 'bmcRebootController',
authenticated: true
})
.when('/server-control/power-operations', {
'templateUrl': 'server-control/controllers/power-operations-controller.html',
'controller': 'powerOperationsController',
authenticated: true
})
.when('/server-control/remote-console', {
'templateUrl': 'server-control/controllers/remote-console-controller.html',
'controller': 'remoteConsoleController',
authenticated: true
})
.when('/server-control', {
'templateUrl': 'server-control/controllers/power-operations-controller.html',
'controller': 'powerOperationsController',
authenticated: true
});
}]);
})(window.angular);