AngularJS ng-non-bindableDirective

AngularJS 参考手册AngularJS Reference


AngularJS Example

The following paragraph does not need to be compiled using AngularJS:

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

Try it Yourself »

Definition and Usage

ng-non-bindableThe directive is used to tell AngularJS that the current HTML element or its child elements do not need to be compiled.


Syntax

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

All HTML elements support this directive.


Parameter Values

No parameter values.


AngularJS 参考手册AngularJS Reference

Other Extensions