Run js-beautify and fixjsstyle on code
Found this pointer on stackoverflow:
https://stackoverflow.com/a/31660434/5508494
End goal is to get the code formatted well enough that
clang format will run correctly against it.
Change-Id: I80053e78d253d8eee49233e42d55e5807ae8fdc8
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
diff --git a/app/users/index.js b/app/users/index.js
index d238b97..4dfa1f2 100644
--- a/app/users/index.js
+++ b/app/users/index.js
@@ -5,28 +5,28 @@
* @exports app/users/index
*/
-window.angular && (function (angular) {
- 'use strict';
+window.angular && (function(angular) {
+ 'use strict';
- angular
- .module('app.users', [
- 'ngRoute',
- 'app.constants',
- 'app.common.services'
- ])
- // Route configuration
- .config(['$routeProvider', function ($routeProvider) {
- $routeProvider
- .when('/users/manage-accounts', {
- 'template': require('./controllers/user-accounts-controller.html'),
- 'controller': 'userAccountsController',
- authenticated: true
- })
- .when('/users', {
- 'template': require('./controllers/user-accounts-controller.html'),
- 'controller': 'userAccountsController',
- authenticated: true
- });
- }]);
+ angular
+ .module('app.users', [
+ 'ngRoute',
+ 'app.constants',
+ 'app.common.services'
+ ])
+ // Route configuration
+ .config(['$routeProvider', function($routeProvider) {
+ $routeProvider
+ .when('/users/manage-accounts', {
+ 'template': require('./controllers/user-accounts-controller.html'),
+ 'controller': 'userAccountsController',
+ authenticated: true
+ })
+ .when('/users', {
+ 'template': require('./controllers/user-accounts-controller.html'),
+ 'controller': 'userAccountsController',
+ authenticated: true
+ });
+ }]);
})(window.angular);