blob: 61eb762eabed1bca847d2a7d61ee429c4ddb331c [file] [log] [blame]
James Feiste8634e62018-09-07 14:25:48 -07001/**
2 * A module for redfish
3 *
4 * @module app/redfish/index
5 * @exports app/redfish/index
6 */
7
8window.angular && (function(angular) {
9 'use strict';
10
11 angular
12 .module('app.redfish', ['ngRoute', 'app.redfish'])
13 // Route configuration
14 .config([
15 '$routeProvider',
16 function($routeProvider) {
17 $routeProvider.when('/redfish/:path*/', {
18 'template': require('./controllers/redfish-controller.html'),
19 'controller': 'redfishController',
20 authenticated: true
21 });
22 }
23 ]);
24})(window.angular);