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/configuration/controllers/network-controller.js b/app/configuration/controllers/network-controller.js
index f08989b..4eff0cd 100644
--- a/app/configuration/controllers/network-controller.js
+++ b/app/configuration/controllers/network-controller.js
@@ -6,38 +6,37 @@
  * @name networkController
  */
 
-window.angular && (function (angular) {
-    'use strict';
+window.angular && (function(angular) {
+  'use strict';
 
-    angular
-        .module('app.configuration')
-        .controller('networkController', [
-            '$scope',
-            '$window',
-            'APIUtils',
-            'dataService',
-            function($scope, $window, APIUtils, dataService){
-                $scope.dataService = dataService;
-                $scope.network = {};
-                $scope.interface = {};
-                $scope.networkDevice  = false;
-                $scope.hostname = "";
+  angular
+    .module('app.configuration')
+    .controller('networkController', [
+      '$scope',
+      '$window',
+      'APIUtils',
+      'dataService',
+      function($scope, $window, APIUtils, dataService) {
+        $scope.dataService = dataService;
+        $scope.network = {};
+        $scope.interface = {};
+        $scope.networkDevice = false;
+        $scope.hostname = '';
 
-                $scope.selectInterface = function(interfaceId){
-                    $scope.interface = $scope.network.interfaces[interfaceId];
-                    $scope.selectedInterface = interfaceId;
-                    $scope.networkDevice = false;
-                }
-                APIUtils.getNetworkInfo().then(function(data){
-                    $scope.network = data.formatted_data;
-                    $scope.hostname = data.hostname;
-                    if($scope.network.interface_ids.length){
-                       $scope.selectedInterface = $scope.network.interface_ids[0];
-                       $scope.interface = $scope.network.interfaces[$scope.selectedInterface];
-                    }
-                });
-            }
-        ]
-    );
+        $scope.selectInterface = function(interfaceId) {
+          $scope.interface = $scope.network.interfaces[interfaceId];
+          $scope.selectedInterface = interfaceId;
+          $scope.networkDevice = false;
+        };
+        APIUtils.getNetworkInfo().then(function(data) {
+          $scope.network = data.formatted_data;
+          $scope.hostname = data.hostname;
+          if ($scope.network.interface_ids.length) {
+            $scope.selectedInterface = $scope.network.interface_ids[0];
+            $scope.interface = $scope.network.interfaces[$scope.selectedInterface];
+          }
+        });
+      }
+    ]);
 
 })(angular);