Format code using clang-format-5.0
Once merged, this repository will have CI enforce
the coding guidelines in the .clang-format file.
Change-Id: I96a05972665f9c67625c6850c3da25edc540be06
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
diff --git a/app/configuration/index.js b/app/configuration/index.js
index 869af04..abe0190 100644
--- a/app/configuration/index.js
+++ b/app/configuration/index.js
@@ -9,41 +9,45 @@
'use strict';
angular
- .module('app.configuration', [
- 'ngRoute',
- 'app.constants',
- 'app.common.services'
- ])
- // Route configuration
- .config(['$routeProvider', function($routeProvider) {
- $routeProvider
- .when('/configuration/network', {
- 'template': require('./controllers/network-controller.html'),
- 'controller': 'networkController',
- authenticated: true
- })
- .when('/configuration/security', {
- 'template': require('./controllers/security-controller.html'),
- 'controller': 'securityController',
- authenticated: true
- }).when('/configuration/date-time', {
- 'template': require('./controllers/date-time-controller.html'),
- 'controller': 'dateTimeController',
- authenticated: true
- })
- .when('/configuration/file', {
- 'template': require('./controllers/file-controller.html'),
- 'controller': 'fileController',
- authenticated: true
- }).when('/configuration', {
- 'template': require('./controllers/network-controller.html'),
- 'controller': 'networkController',
- authenticated: true
- }).when('/configuration/firmware', {
- 'template': require('./controllers/firmware-controller.html'),
- 'controller': 'firmwareController',
- authenticated: true
- });
- }]);
+ .module(
+ 'app.configuration',
+ ['ngRoute', 'app.constants', 'app.common.services'])
+ // Route configuration
+ .config([
+ '$routeProvider',
+ function($routeProvider) {
+ $routeProvider
+ .when('/configuration/network', {
+ 'template': require('./controllers/network-controller.html'),
+ 'controller': 'networkController',
+ authenticated: true
+ })
+ .when('/configuration/security', {
+ 'template': require('./controllers/security-controller.html'),
+ 'controller': 'securityController',
+ authenticated: true
+ })
+ .when('/configuration/date-time', {
+ 'template': require('./controllers/date-time-controller.html'),
+ 'controller': 'dateTimeController',
+ authenticated: true
+ })
+ .when('/configuration/file', {
+ 'template': require('./controllers/file-controller.html'),
+ 'controller': 'fileController',
+ authenticated: true
+ })
+ .when('/configuration', {
+ 'template': require('./controllers/network-controller.html'),
+ 'controller': 'networkController',
+ authenticated: true
+ })
+ .when('/configuration/firmware', {
+ 'template': require('./controllers/firmware-controller.html'),
+ 'controller': 'firmwareController',
+ authenticated: true
+ });
+ }
+ ]);
})(window.angular);