We can use the ng-bind-template directive to bind multiple expressions to the view.
The following code shows how to ng-bind-template.
<!-- ww w.j ava 2 s . co 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>
The code above is rendered as follows: