Tutorials References Exercises Bootcamps Videos Menu
Sign Up Create Website Get Certified Upgrade

AngularJS ng-non-bindable Directive


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>
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.


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

Supported by all HTML elements.

Parameter Values

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