old_contents: (function() {
      'use strict';
  
      //
      // Bootstrap the application
      //
      requirejs.config({
          // How long we allow the dependencies to load (in seconds)
          waitSeconds: 30,
  
          shim: {
              // Bootstrap needs jQuery
              bootstrap: ['jquery'],
  
              // We want jQuery and Bootstrap to load before Knockout
              knockout: ['jquery', 'bootstrap']
          },
  
          paths: {
              // Shortcuts to easily reference common services
              $: 'jquery',
              $events: 'app/shared/events',
              $router: 'app/shared/router',
              $http: 'app/shared/http',
              $app: 'app/application'
          },
  
          config: {
              $app: {
                  modules: [
                      //-inject:modules
                      //-end-inject
                  ]
              }
          },
  
          //
          // The callback should be kept as simple as possible.
          //
          callback: function() {
              requirejs(['$app'],
                  function(app) {
                      app.start().done();
                  },
                  function(error) {
                      console.error(error);
                      //
                      // Default is to clear up the whole document and replace it with an error
                      // submission form. We consider that Bootstrap was loaded.
                      //
                      document.body.innerHTML = '<div class="container"><div class="page-header">' +
                          '<h1 class="text-danger">Application could not start.</h1></div></div>';
                  });
          }
      });
  })();
  
new_contents: (function() {
      'use strict';
  
      //
      // Bootstrap the application
      //
      requirejs.config({
          // How long we allow the dependencies to load (in seconds)
          waitSeconds: 30,
  
          shim: {
              // Bootstrap needs jQuery
              bootstrap: ['jquery'],
  
              // We want jQuery and Bootstrap to load before Knockout
              knockout: ['jquery', 'bootstrap'],
  
              // Useful to have jQuery/KnockoutJS plugins loaded automatically
              $app: ['jquery', 'bootstrap', 'knockout']
          },
  
          paths: {
              // Shortcuts to easily reference common services
              $: 'jquery',
              $events: 'app/shared/events',
              $router: 'app/shared/router',
              $http: 'app/shared/http',
              $app: 'app/application'
          },
  
          config: {
              $app: {
                  modules: [
                      //-inject:modules
                      //-end-inject
                  ]
              }
          },
  
          //
          // The callback should be kept as simple as possible.
          //
          callback: function() {
              requirejs(['$app'],
                  function(app) {
                      app.start().done();
                  },
                  function(error) {
                      console.error(error);
                      //
                      // Default is to clear up the whole document and replace it with an error
                      // submission form. We consider that Bootstrap was loaded.
                      //
                      document.body.innerHTML = '<div class="container"><div class="page-header">' +
                          '<h1 class="text-danger">Application could not start.</h1></div></div>';
                  });
          }
      });
  })();
  
subject: enable easy loading of jQuery / KnockoutJS plugins