cdfe957ab8
* docs(toh-6-aot): add aot to toh-6 s s s s s * docs(toh-6-aot): add aot to toh-6 * docs(toh-6-aot): make aot e2e tests run in the same project Updates tooling for this purpose and also the prose.
17 lines
321 B
TypeScript
17 lines
321 B
TypeScript
// #docregion
|
|
// #docregion
|
|
import { Component } from '@angular/core';
|
|
|
|
@Component({
|
|
selector: 'my-app',
|
|
templateUrl: 'app.component.html'
|
|
})
|
|
export class AppComponent {
|
|
showHeading = true;
|
|
heroes = ['Magneta', 'Bombasto', 'Magma', 'Tornado'];
|
|
|
|
toggleHeading() {
|
|
this.showHeading = !this.showHeading;
|
|
}
|
|
}
|