When using string as input from parent to child component, Angular tries to parse string as TS code and throws error.
This did not happen in Angular 8: https://stackblitz.com/edit/angular-8-getting-started-ytub1a?file=src%2Fapp%2Fapp.component.html
What caused this issue? There is no mention of parser change in Angular 10 release note.
Source: Angular Questions