blob: c4f8e61073f81340d1a668ce14f4f05f535ccb07 [file] [log] [blame]
Iftekharul Islam08054412017-08-25 10:29:57 -05001/**
2 * A module for the multi-server
3 *
4 * @module app/multi-server
5 * @exports app/multi-server
Iftekharul Islam08054412017-08-25 10:29:57 -05006 */
7
8window.angular && (function (angular) {
9 'use strict';
10
11 angular
12 .module('app.multiServer', [
13 'ngRoute',
14 'app.constants',
15 'app.common.services'
16 ])
17 // Route configuration
18 .config(['$routeProvider', function ($routeProvider) {
19 $routeProvider
20 .when('/multi-server/overview', {
Ed Tanousbbcf6702017-10-06 13:53:06 -070021 'template': require('./controllers/multi-server-controller.html'),
Iftekharul Islam08054412017-08-25 10:29:57 -050022 'controller': 'multiServerController',
23 authenticated: true
24 });
25 }]);
26
27})(window.angular);