Ng-Non-Bindable-8

 

Ng-Non-Bindable-8

 
 
 
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.2/angular.min.js"></script> <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css"> </head> <body ng-app=""> <div class="container"> <div class="row well"> <div class="col-md-12 text-center"> <h4>Use of ng-non-bindable</h4> <div style="height:50px;background-color:moccasin;padding:10px"> Example 1 : When we evaluate <span style="background-color:red;color:white">{{5+5}}</span> expression the answer is = {{5+5}} &nbsp;&nbsp;<span class="glyphicon glyphicon-remove"></span> </div> <div style="height:50px;background-color:tan;padding:10px"> Example 2 : When we evaluate <span style="background-color:green;color:white" ng-non-bindable>{{5+5}}</span> expression the answer is = {{5+5}} &nbsp;&nbsp; <span class="glyphicon glyphicon-ok"></span> </div> </div> </div> </div> </body> </html>
Output