AngularJS Basic ng non bindable Instruction Details

  • 2021-07-07 06:12:18
  • OfStack

AngularJS ng-non-bindable Directive

AngularJS instance

The following paragraphs do not need to be compiled using AngularJS:


<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<script src="http://apps.bdimg.com/libs/angular.js/1.4.6/angular.min.js"></script>
</head>
<body>

<div ng-app="">

<p> Use  AngularJS: {{ 5+5 }}</p>
<p ng-non-bindable> Do not use  AngularJS: {{ 5+5 }}</p>

</div>

<p> If you don't want to use  AngularJS  Execution expressions can be performed using the  ng-non-bindable  . </p>

</body>
</html>

Definition and usage

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

Grammar

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

All HTML elements support this instruction.

Parameter value

There is no parameter value.

The above is the collation of AngularJS ng-non-bindable instruction data, and the follow-up will continue to be updated. Thank you for your support!


Related articles: