<!doctype html>
<html ng-app="myApp">
  <head>
    <title>Podstawowy zasięg ¶rodowiska AngularJS</title>
  </head>
  <body>
    <div ng-controller="Counter">
      <span>Zmień ilość:</span>
      <input type="number" ng-model="change"><hr>
      <span>Wartość:</span>
      {{current}}
      <button ng-click='inc()'>+</button>
      <button ng-click='dec()'>-</button><hr>
      <span>Różnica:</span>
      {{difference}}
    </div>
    <script src="http://code.angularjs.org/1.2.9/angular.min.js"></script>
    <script src="/js/scope_controller.js"></script>
  </body>
</html>