/**
* 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': 'app', // 'dist',
		'@angular': 'lib/@angular',
		'rxjs': 'lib/rxjs',
		'ng2-interceptors': 'lib/ng2-interceptors',
		'crypto-js': 'lib/crypto-js',
		'ng2-bootstrap': 'lib/ng2-bootstrap',
		'bootstrap-table': 'lib/bootstrap-table',
		'moment': 'lib/moment',
		'ng2-ckeditor': 'lib/ng2-ckeditor',
		'ng2-file-upload': 'lib/ng2-file-upload',
		'ng2-auto-complete': 'lib/ng2-auto-complete/dist'
	};
	// packages tells the System loader how to load when no filename and/or no extension
	var packages = {
		'app': {
			main: 'main.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 = packUmd;
	// Add package entries for angular packages
	ngPackageNames.forEach(setPackageConfig);
	packages['ng2-interceptors'] = {
		main: 'index'
	};
	packages['crypto-js'] = {
		main: 'index'
	};
	packages['moment'] = {
		main: 'moment'
	};
	packages['rxjs'] = {
		main: 'bundles/Rx.js'
	};
	packages['ng2-bootstrap'] = {
		main: 'bundles/ng2-bootstrap.umd.min.js'
	};
	packages['bootstrap-table'] = {
		main: 'dist/bootstrap-table.js'
	};
	packages['ng2-ckeditor'] = {
		main: 'lib/index.js'
	}
	packages['ng2-file-upload'] = {
		main: 'index.js'
	}
	packages['ng2-auto-complete'] = {
		main: 'ng2-auto-complete.umd.js'
	}
	var config = {
		map: map,
		packages: packages
	};
	System.config(config);
})(this);

/**
* 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': 'app', // 'dist',
		'@angular': 'lib/@angular',
		'rxjs': 'lib/rxjs',
		'ng2-interceptors': 'lib/ng2-interceptors',
		'crypto-js': 'lib/crypto-js',
		'ng2-bootstrap': 'lib/ng2-bootstrap',
		'bootstrap-table': 'lib/bootstrap-table',
		'moment': 'lib/moment',
		'ng2-ckeditor': 'lib/ng2-ckeditor',
		'ng2-file-upload': 'lib/ng2-file-upload',
		'ng2-auto-complete': 'lib/ng2-auto-complete/dist'
	};
	// packages tells the System loader how to load when no filename and/or no extension
	var packages = {
		'app': {
			main: 'main.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 = packUmd;
	// Add package entries for angular packages
	ngPackageNames.forEach(setPackageConfig);
	packages['ng2-interceptors'] = {
		main: 'index'
	};
	packages['crypto-js'] = {
		main: 'index'
	};
	packages['moment'] = {
		main: 'moment'
	};
	packages['rxjs'] = {
		main: 'bundles/Rx.js'
	};
	packages['ng2-bootstrap'] = {
		main: 'bundles/ngx-bootstrap.umd.min.js'
	};
	packages['bootstrap-table'] = {
		main: 'dist/bootstrap-table.js'
	};
	packages['ng2-ckeditor'] = {
		main: 'lib/index.js'
	}
	packages['ng2-file-upload'] = {
		main: 'index.js'
	}
	packages['ng2-auto-complete'] = {
		main: 'ng2-auto-complete.umd.js'
	}
	var config = {
		map: map,
		packages: packages
	};
	System.config(config);
})(this);

change system.config.js file