diff --git a/atmosphere-packages/angular-typescript-compiler/index.js b/atmosphere-packages/angular-typescript-compiler/index.js index 1376d287f..6f426d915 100644 --- a/atmosphere-packages/angular-typescript-compiler/index.js +++ b/atmosphere-packages/angular-typescript-compiler/index.js @@ -273,7 +273,7 @@ export class AngularTsCompiler { if (inputFile) { inputFile.addJavaScript({ path: 'system.js', - data: `System = { import(path) { return module.dynamicImport(path) } }` + data: `System = { import: function(path) { return module.dynamicImport(path) } }` }); } }