English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

AngularJS ng-non-bindable directive

AngularJS Reference Manual

!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<script src="https://cdn.staticfile.org/angular.js/1.4.6/angular.min.js"></script>
</head>
<body>
<div ng-app="">
<p>Using AngularJS: {{ 5+5 }}</p>
<p ng-non-bindable>not using AngularJS: {{ 5+5 }}</p>
</div>
<p>If you do not want to use AngularJS to execute expressions, you can use ng-non-bindable 。</p>
</body>
</html>
Test and see ‹/›

Definition and Usage

ng-non-bindable Directives are 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 value

No parameter value.

AngularJS Reference Manual