docs: update example references from "my-app" to "app-root" (#30789)

"app" is the default prefix for CLI projects when generating components.
This updates our examples to conform that that default

Closes #19778

PR Close #30789
This commit is contained in:
Brandon
2019-05-31 15:03:36 -05:00
committed by Misko Hevery
parent 32886cf9ac
commit 8bedf50073
6 changed files with 8 additions and 8 deletions

View File

@ -12,7 +12,7 @@ import { Component } from '@angular/core';
// #enddocregion import-core-component
@Component({
selector: 'my-app',
selector: 'app-root',
template: 'Welcome to Angular'
})
export class AppComponent {