import {platformBrowser} from '@angular/platform-browser'; import {AppModule} from './app'; platformBrowser().bootstrapModule(AppModule, {ngZone: 'noop'}); const input = document.querySelector('input')!; const helloWorld = document.querySelector('hello-world-el')!; const helloWorldOnpush = document.querySelector('hello-world-onpush-el')!; const helloWorldShadow = document.querySelector('hello-world-shadow-el')!; input.addEventListener('input', () => { helloWorld.setAttribute('name', input.value); helloWorldOnpush.setAttribute('name', input.value); helloWorldShadow.setAttribute('name', input.value); });