message: docs: rename component for constructor example
  PR Close
diff: import { Component } from '@angular/core';
  @Component({
  - selector: 'app-ctor',
  + selector: 'app-root',
  template: `
  <h1>{{title}} [Ctor version]</h1>
  <h2>My favorite hero is: {{myHero}}</h2>
  `
  })
  // #docregion class
  -export class AppCtorComponent {
  +export class AppComponent {
  title: string;
  myHero: string;
  