![]() |
VOOZH | about |
The ng-non-bindable Directive in AngularJS is used to specify that the specific content of HTML should not be compiled i.e the contents should be ignored by AngularJS. It can be used when we want to display code snippets instead of compiled output.
Syntax:
<element ng-non-bindable> Contents... </element>
Example 1: This example uses ng-non-bindable Directive to ignore expression.
Output:
Example 2: This example uses ng-non-bindable Directive to ignore expression.
Output: