blob: f0918e0e979d94876e0fa390447c61cf5c1ea9ed [file] [log] [blame]
Iftekharul Islamcd789502017-04-19 14:37:55 -05001/**
2 * A module for the configuration
3 *
4 * @module app/configuration/index
5 * @exports app/configuration/index
6 * @version 0.0.1
7 */
8
9window.angular && (function (angular) {
10 'use strict';
11
12 angular
13 .module('app.configuration', [
14 'ngRoute',
15 'app.constants',
16 'app.common.services'
17 ])
18 // Route configuration
19 .config(['$routeProvider', function ($routeProvider) {
20 $routeProvider
21 .when('/configuration/network', {
22 'templateUrl': 'configuration/controllers/network-controller.html',
23 'controller': 'networkController',
24 authenticated: true
25 })
26 .when('/configuration/security', {
27 'templateUrl': 'configuration/controllers/security-controller.html',
28 'controller': 'securityController',
29 authenticated: true
30 }).when('/configuration/date-time', {
31 'templateUrl': 'configuration/controllers/date-time-controller.html',
32 'controller': 'dateTimeController',
33 authenticated: true
34 })
35 .when('/configuration/file', {
36 'templateUrl': 'configuration/controllers/file-controller.html',
37 'controller': 'fileController',
38 authenticated: true
39 }).when('/configuration', {
40 'templateUrl': 'configuration/controllers/network-controller.html',
41 'controller': 'networkController',
42 authenticated: true
Michael Davis43366db2017-05-15 18:12:35 -050043 }).when('/configuration/firmware', {
44 'templateUrl': 'configuration/controllers/firmware-controller.html',
45 'controller': 'firmwareController',
46 authenticated: true
47 });
Iftekharul Islamcd789502017-04-19 14:37:55 -050048 }]);
49
50})(window.angular);