Tutorials References Exercises Videos Menu
Create Website Get Certified Upgrade

AngularJS ng-non-bindable Directive


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 »

Definition and Usage

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


Syntax

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

Supported by all HTML elements.


Parameter Values

The ng-non-bindable directive does not have any parameters.