(function() {
  app.factory('configService', ['nwService', 'DEFAULTCONFIG', '$mdToast', configService]);

  function configService(nwService, DEFAULTCONFIG, $mdToast) {
    var service = {};
    service.config = angular.merge({}, DEFAULTCONFIG, nwService.readSyncJSON(nwService.buildPath(['config.json']), true));

    service.importConfig = function(obj) {
      service.saveConfig(
        _.extend(DEFAULTCONFIG, obj)
      );
    };

    service.saveConfig = function(obj) {
      var toastDelay = 1500;

      nwService.writeJSON(obj, 'config.json', true).then(function() {
        $mdToast.show(
            $mdToast.simple().content('Saved configuration - SSGL restarts ...').position('bottom').hideDelay(toastDelay)
        );

        setTimeout(function() {                        
          window.location.reload();
        }, toastDelay + 500);

      }, function() {
        $mdToast.show(
            $mdToast.simple().content('An Error Occured').position('bottom').hideDelay(toastDelay)
        );
      });
    };
    
    service.getConfig = function() {
      return service.config;
    };        
        
    return service;
  }
})();

@@ -764,32 +764,8 @@
 () %7B
-                        
 %0A   
@@ -1000,20 +1000,16 @@
 %0A    %7D;%0A
-    
 %0A    ser
@@ -1077,25 +1077,9 @@
   %7D;
-        %0A        
+%0A
 %0A   

Fix Codestyle