Reputation: 1543
I'd like to be able to render some preformatted html including dom components, but I don't see anyway to prevent the compiler from processing it.
For example, I want to display:
<pre>
<some-component [color]="color"></some-component>
</pre>
Upvotes: 1
Views: 176
Reputation: 657248
Add ngNonBindable
<pre ngNonBindable>
<some-component [color]="color"></some-component>
</pre>
Upvotes: 3