AngularJS ng-non-bindable Directive

Definition and Usage

ng-non-bindable The directive specifies that the content of this HTML element and its child nodes should not be compiled by AngularJS.

Example

This paragraph should not be compiled by AngularJS:

<div ng-app="">
<p ng-non-bindable>This code is not compiled by AngularJS: {{ 5+5 }}</p>
...
</div>

Try It Yourself

Syntax

<element ng-non-bindable></element>

All HTML elements support.

Parameters

ng-non-bindable Directives have no parameters.