/**
 * System configuration for Angular 2 samples
 * Adjust as necessary for your application needs.
 * Override at the last minute with global.filterSystemConfig (as plunkers do)
 */
(function(global) {

    // map tells the System loader where to look for things
    var map = {
        'app':                        'app', // 'dist',
        'rxjs':                       'node_modules/rxjs',
        '@angular':                   'node_modules/@angular',
        'localforage':                'node_modules/localforage/dist/localforage.js',
        'angular2-infinite-scroll':   'node_modules/angular2-infinite-scroll'
    };

    // 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-infinite-scroll':   { defaultExtension: 'js' }
    };

    var packageNames = [
        '@angular/common',
        '@angular/compiler',
        '@angular/core',
        '@angular/http',
        '@angular/platform-browser',
        '@angular/platform-browser-dynamic',
        '@angular/router',
        '@angular/testing',
        '@angular/upgrade',
    ];

    // add package entries for angular packages in the form '@angular/common': { main: 'index.js', defaultExtension: 'js' }
    packageNames.forEach(function(pkgName) {
        packages[pkgName] = { main: 'index.js', defaultExtension: 'js' };
    });

    var config = {
        map: map,
        packages: packages
    }

    System.config(config);

})(this);
@@ -39,14 +39,11 @@
 r 2 
-sample
+app
 s%0A *
@@ -95,87 +95,8 @@
 ds.%0A
- * Override at the last minute with global.filterSystemConfig (as plunkers do)%0A
  */%0A
@@ -879,25 +879,27 @@
 %7D;%0A%0A    var 
-p
+ngP
 ackageNames 
@@ -911,25 +911,16 @@
        '
-@angular/
 common',
@@ -929,25 +929,16 @@
        '
-@angular/
 compiler
@@ -949,25 +949,16 @@
        '
-@angular/
 core',%0A 
@@ -965,25 +965,16 @@
        '
-@angular/
 http',%0A 
@@ -977,33 +977,24 @@
 ',%0A        '
-@angular/
 platform-bro
@@ -1009,25 +1009,16 @@
        '
-@angular/
 platform
@@ -1049,81 +1049,15 @@
    '
-@angular/router',%0A        '@angular/testing',%0A        '@angular/upgrade',
+router'
 %0A   
@@ -1068,17 +1068,17 @@
 %0A    // 
-a
+A
 dd packa
@@ -1112,54 +1112,154 @@
 ages
- in the form '@angular/common': %7B main: 'index
+%0A    ngPackageNames.forEach(function(pkgName) %7B%0A        // Bundled (~40 requests):%0A        packages%5B'@angular/'+pkgName%5D = %7B main: pkgName + '.umd
 .js'
@@ -1288,53 +1288,55 @@
 s' %7D
+;%0A
 %0A    
-packageNames.forEach(function(pkgName) %7B
+    // Individual files (~300 requests):
 %0A   
@@ -1332,32 +1332,34 @@
 uests):%0A        
+//
 packages%5BpkgName
@@ -1351,16 +1351,28 @@
 ackages%5B
+'@angular/'+
 pkgName%5D
@@ -1498,16 +1498,17 @@
 es%0A    %7D
+;
 %0A%0A    Sy

Update systemjs config to use umd bundles