<!doctype html>
<html ng-app="myApp">
  <head>
    <title>Wyrażenia aplikacji AngularJS</title>
  </head>
  <body>
    <div ng-controller="myController">
      <h1>Wyrażenia</h1>
      {{'Bilbo' + ' Baggins'}}<br>
      {{first}} {{last}}<br>
      {{combine('Bilbo', 'Baggins')}}<br>
      {{combine(first, last)}}<br>
      <p ng-click="setName(newFirst, newLast)">
        Kliknij, aby zmienić na: {{newFirst}} {{newLast}}</p>
      <p ng-click="setName('Bilbo', 'Baggins')">
        Kliknij, aby zmienić na: Bilbo Baggins</p>
    <script src="http://code.angularjs.org/1.2.9/angular.min.js"></script>
    <script src="/js/angular_expressions.js"></script>
  </body>
</html>