VOOZH about

URL: https://www.geeksforgeeks.org/angular-js/angularjs-ng-non-bindable-directive/

⇱ AngularJS ng-non-bindable Directive - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

AngularJS ng-non-bindable Directive

Last Updated : 8 Aug, 2022

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:

👁 Image
 

Example 2: This example uses ng-non-bindable Directive to ignore expression.

Output:

👁 Image
 
Comment

Explore