https://angular.dev/essentials/templates
With the latest version of angular, in most simple logic we can use better control flow with the latest syntax. @if which doesn’t require the import of the CommonModule. This creates better bundle sizes.
Interpolation
<p>{{ someValue }}</p>Property Binding Values
<p [innerHtml]="someValue"></p>Warning: No sanitizer
There are tricks to show
rawvalues, but caution is needed as it could allow for script injection. Only use with trusted/cleaned sources.