ngNonBindable
This is the documentation for Angular 6.
You can switch to the latest version Angular 10.
You can switch to the latest version Angular 10.
The ngNonBindable
tells Angular not to compile or bind the contents of the current DOM element.
Source
<div>{{ 1 + 1 }}</div>
<div ngNonBindable>{{ 1 + 1 }}</div>
Result
2
{{ 1 + 1 }}