diff --git a/scopes/generators/angular-templates/ng-env/files/env.ts b/scopes/generators/angular-templates/ng-env/files/env.ts index bec1e4e1..905db305 100644 --- a/scopes/generators/angular-templates/ng-env/files/env.ts +++ b/scopes/generators/angular-templates/ng-env/files/env.ts @@ -114,11 +114,10 @@ export class ${Name} extends ${envName} { */ override generators(): EnvHandler { const envName = this.constructor.name; - const angularVersion = this.angularVersion; return TemplateList.from([ - NgModuleTemplate.from({ envName, angularVersion }), - NgEnvTemplate.from({ envName, angularVersion }), - NgAppTemplate.from({ envName, angularVersion }) + NgModuleTemplate.from({envName, angularVersion: this.angularVersion}), + NgEnvTemplate.from({envName, angularVersion: this.angularVersion}), + NgAppTemplate.from({envName, angularVersion: this.angularVersion}) ]); }