ng-bind

The ng-bind directive binds the model property declared via $scope or ng-model directive or the result of an expression to the HTML element. It also updates an element if the value of an expression changes.
Example: ng-bind.
<html >
<head>
<script src="angular.min.js"></script>
</head>
<body ng-app="">
<h2>directive ng-bind</h2>
<div>
5 + 5 = <span ng-bind="5 + 5"></span> <br />
Enter your name: <input type="text" ng-model="name" /><br />
Hello <span ng-bind="name"></span>
</div>
</body>
</html>

 

 

For
More Explanation
&
Online Classes

Contact Us:
+919885348743