blob: 8094a400201ae22ba5e96a931cc9ff7431ba61be [file] [log] [blame]
Iftekharul Islamcd789502017-04-19 14:37:55 -05001/**
2 * A module for the firmware
3 *
4 * @module app/firmware/index
5 * @exports app/firmware/index
6 * @version 0.0.1
7 */
8
9window.angular && (function (angular) {
10 'use strict';
11
12 angular
13 .module('app.firmware', [
14 'ngRoute',
15 'app.constants',
16 'app.common.services'
17 ])
18 // Route configuration
19 .config(['$routeProvider', function ($routeProvider) {
20 $routeProvider
21 .when('/firmware/bmc', {
22 'templateUrl': 'firmware/controllers/bmc-controller.html',
23 'controller': 'bmcController',
24 authenticated: true
25 })
26 .when('/firmware/server', {
27 'templateUrl': 'firmware/controllers/server-controller.html',
28 'controller': 'serverController',
29 authenticated: true
30 })
31 .when('/firmware', {
32 'templateUrl': 'firmware/controllers/bmc-controller.html',
33 'controller': 'bmcController',
34 authenticated: true
35 });
36 }]);
37
38})(window.angular);