/**
 * System configuration for Angular 2 samples
 * Adjust as necessary for your application needs.
 */
(function(global) {
  // map tells the System loader where to look for things
  var map = {
    'app':                        'site/app', // 'dist',
    '@angular':                   'assets/lib/@angular',
    'angular2-in-memory-web-api': 'assets/lib/angular2-in-memory-web-api',
    'rxjs':                       'assets/lib/rxjs'
  };
  // packages tells the System loader how to load when no filename and/or no extension
  var packages = {
    'app':                        { main: 'main.js',  defaultExtension: 'js' },
    'rxjs':                       { defaultExtension: 'js' },
    'angular2-in-memory-web-api': { main: 'index.js', defaultExtension: 'js' },
  };
  var ngPackageNames = [
    'common',
    'compiler',
    'core',
    'forms',
    'http',
    'platform-browser',
    'platform-browser-dynamic',
    'router',
    'router-deprecated',
    'upgrade',
  ];
  // Individual files (~300 requests):
  function packIndex(pkgName) {
    packages['@angular/'+pkgName] = { main: 'index.js', defaultExtension: 'js' };
  }
  // Bundled (~40 requests):
  function packUmd(pkgName) {
    packages['@angular/'+pkgName] = { main: 'bundles/' + pkgName + '.umd.js', defaultExtension: 'js' };
  }
  // Most environments should use UMD; some (Karma) need the individual index files
  var setPackageConfig = System.packageWithIndex ? packIndex : packUmd;
  // Add package entries for angular packages
  ngPackageNames.forEach(setPackageConfig);
  var config = {
    map: map,
    packages: packages
  };
  System.config(config);
})(this);

/**
 * System configuration for Angular samples
 * Adjust as necessary for your application needs.
 */
/**(function (global) {
  System.config({
    paths: {
      // paths serve as alias
      'npm:': 'node_modules/'
    },
    // map tells the System loader where to look for things
    map: {
      // our app is within the app folder
      static: 'app',

      // angular bundles
      '@angular/core': 'npm:@angular/core/bundles/core.umd.js',
      '@angular/common': 'npm:@angular/common/bundles/common.umd.js',
      '@angular/compiler': 'npm:@angular/compiler/bundles/compiler.umd.js',
      '@angular/platform-browser': 'npm:@angular/platform-browser/bundles/platform-browser.umd.js',
      '@angular/platform-browser-dynamic': 'npm:@angular/platform-browser-dynamic/bundles/platform-browser-dynamic.umd.js',
      '@angular/http': 'npm:@angular/http/bundles/http.umd.js',
      '@angular/router': 'npm:@angular/router/bundles/router.umd.js',
      '@angular/router/upgrade': 'npm:@angular/router/bundles/router-upgrade.umd.js',
      '@angular/forms': 'npm:@angular/forms/bundles/forms.umd.js',
      '@angular/upgrade': 'npm:@angular/upgrade/bundles/upgrade.umd.js',
      '@angular/upgrade/static': 'npm:@angular/upgrade/bundles/upgrade-static.umd.js',

      // other libraries
      'rxjs':                      'npm:rxjs',
      'angular-in-memory-web-api': 'npm:angular-in-memory-web-api/bundles/in-memory-web-api.umd.js'
    },
    // packages tells the System loader how to load when no filename and/or no extension
    packages: {
      app: {
        main: '.main.js',
        defaultExtension: 'js'
      },
      rxjs: {
        defaultExtension: 'js'
      }
    }
  });
})(this);
*/

@@ -225,16 +225,17 @@
        '
+/
 site/app
@@ -248,16 +248,16 @@
 'dist',%0A
-
     '@an
@@ -1646,1712 +1646,4 @@
 );%0A%0A
-/**%0A * System configuration for Angular samples%0A * Adjust as necessary for your application needs.%0A */%0A/**(function (global) %7B%0A  System.config(%7B%0A    paths: %7B%0A      // paths serve as alias%0A      'npm:': 'node_modules/'%0A    %7D,%0A    // map tells the System loader where to look for things%0A    map: %7B%0A      // our app is within the app folder%0A      static: 'app',%0A%0A      // angular bundles%0A      '@angular/core': 'npm:@angular/core/bundles/core.umd.js',%0A      '@angular/common': 'npm:@angular/common/bundles/common.umd.js',%0A      '@angular/compiler': 'npm:@angular/compiler/bundles/compiler.umd.js',%0A      '@angular/platform-browser': 'npm:@angular/platform-browser/bundles/platform-browser.umd.js',%0A      '@angular/platform-browser-dynamic': 'npm:@angular/platform-browser-dynamic/bundles/platform-browser-dynamic.umd.js',%0A      '@angular/http': 'npm:@angular/http/bundles/http.umd.js',%0A      '@angular/router': 'npm:@angular/router/bundles/router.umd.js',%0A      '@angular/router/upgrade': 'npm:@angular/router/bundles/router-upgrade.umd.js',%0A      '@angular/forms': 'npm:@angular/forms/bundles/forms.umd.js',%0A      '@angular/upgrade': 'npm:@angular/upgrade/bundles/upgrade.umd.js',%0A      '@angular/upgrade/static': 'npm:@angular/upgrade/bundles/upgrade-static.umd.js',%0A%0A      // other libraries%0A      'rxjs':                      'npm:rxjs',%0A      'angular-in-memory-web-api': 'npm:angular-in-memory-web-api/bundles/in-memory-web-api.umd.js'%0A    %7D,%0A    // packages tells the System loader how to load when no filename and/or no extension%0A    packages: %7B%0A      app: %7B%0A        main: '.main.js',%0A        defaultExtension: 'js'%0A      %7D,%0A      rxjs: %7B%0A        defaultExtension: 'js'%0A      %7D%0A    %7D%0A  %7D);%0A%7D)(this);%0A*/%0A

Update systemjs.config.js