ng-bind-template
Description
We can use the ng-bind-template directive to bind multiple expressions to the view.
The following code shows how to ng-bind-template.
Example
<!-- w ww .jav a2s .c o m-->
<!doctype html>
<html ng-app="myApp">
<head>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.0-rc.3/angular.js"></script>
</head>
<body ng-init="greeting = 'Hi';name='AngularJS'">
<div
ng-bind-template="{{ greeting }} {{ name }}">
</div>
<script>
angular.module('myApp', [])
</script>
</body>
</html>