From 4fe757719b0d4ee0470aac238f4e97e4cfc2c4a9 Mon Sep 17 00:00:00 2001 From: mgechev Date: Tue, 13 Aug 2019 15:35:58 -0700 Subject: [PATCH] fix(@schematics/angular): handle the inlineTemplate case for ng new Update the template of `app.component.ts` when using `--inlineTemplate`. --- .../angular/application/other-files/app.component.ts.template | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/schematics/angular/application/other-files/app.component.ts.template b/packages/schematics/angular/application/other-files/app.component.ts.template index d1b227e6584b..8407fe8a6d1c 100644 --- a/packages/schematics/angular/application/other-files/app.component.ts.template +++ b/packages/schematics/angular/application/other-files/app.component.ts.template @@ -4,10 +4,11 @@ import { Component } from '@angular/core'; selector: '<%= selector %>',<% if(inlineTemplate) { %> template: ` -
+

Welcome to {{title}}!

+ {{ title }} app is running! Angular Logo

Here are some links to help you start: