Append binded value in expression
Description
The following code shows how to append binded value in expression.
Example
<!DOCTYPE html>
<html ng-app>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.13/angular.js">
</script><!-- ww w .jav a 2 s . co m-->
</head>
<body>
<div data-ng-init="names=[{name:'XML',city:'W3C'},{name:'Java',city:'Oracle'},{name:'Tutorial',city:'java2s.com'}]">
<ul>
<li data-ng-repeat="myObject in names">{{myObject.name +' from ' + myObject.city}}</li>
</ul>
</div>
</body>
</html>