(function (global) { System.config({ paths: { 'npm:': 'node_modules/'// paths serve as alias }, // map tells the System loader where to look for things map: { app: 'app', // our app is within the app folder '@angular/core': 'npm:@angular/core/bundles/core.umd.js', // angular bundles ... 'rxjs': 'npm:rxjs', // other libraries }, // 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);