blob: 8094a400201ae22ba5e96a931cc9ff7431ba61be [file] [log] [blame]
/**
* A module for the firmware
*
* @module app/firmware/index
* @exports app/firmware/index
* @version 0.0.1
*/
window.angular && (function (angular) {
'use strict';
angular
.module('app.firmware', [
'ngRoute',
'app.constants',
'app.common.services'
])
// Route configuration
.config(['$routeProvider', function ($routeProvider) {
$routeProvider
.when('/firmware/bmc', {
'templateUrl': 'firmware/controllers/bmc-controller.html',
'controller': 'bmcController',
authenticated: true
})
.when('/firmware/server', {
'templateUrl': 'firmware/controllers/server-controller.html',
'controller': 'serverController',
authenticated: true
})
.when('/firmware', {
'templateUrl': 'firmware/controllers/bmc-controller.html',
'controller': 'bmcController',
authenticated: true
});
}]);
})(window.angular);