diff --git a/packages/@angular/cli/blueprints/ng/files/__path__/app/app.component.ts b/packages/@angular/cli/blueprints/ng/files/__path__/app/app.component.ts index a0b31d8e11b6..385275f6972f 100644 --- a/packages/@angular/cli/blueprints/ng/files/__path__/app/app.component.ts +++ b/packages/@angular/cli/blueprints/ng/files/__path__/app/app.component.ts @@ -3,10 +3,10 @@ import { Component } from '@angular/core'; @Component({ selector: '<%= prefix %>-root',<% if (inlineTemplate) { %> template: ` -

- {{title}} -

<% if (routing) { %> - <% } %> +

+ {{title}} +

<% if (routing) { %> + <% } %> `,<% } else { %> templateUrl: './app.component.html',<% } %><% if (inlineStyle) { %> styles: []<% } else { %>