Lets Learn AngularJS 2 - Expressions

Here are some of the valid expressions in the AngularJS. More of them can be found here

<!doctype html>
<html>
<head>
  <script src="angular.js"></script>
</head>
<body ng-app>
  <div>
    8 + 2 =   {{ 8 + 2 }} 
    {{ a + b }} 
    {{ user.name }} 
    {{ items[index] }} 


    Creating an object and returning the name:
    {{ {name: 'Mustafa', age: '24'}.name }}
  </div>
</body>
</html>