1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
# Chapter 4 > collapsed + playground Inline ```ts angular collapsed playground import {ChangeDetectionStrategy, Component, Input} from '@angular/core'; @Component({ standalone: true, selector: 'example-inline', template: `I'm a good inline example`, changeDetection: ChangeDetectionStrategy.OnPush, }) export class ExampleComponent { @Input() text = 'lorem ipsum'; } ``` External {{#angular ./example.ts#ExampleComponent collapsed playground}}