<!doctype html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Example - example-example52</title>
  

  <script src="../../../angular.min.js"></script>
  

  
</head>
<body ng-app="numberFilterExample">
    <script>
    angular.module('numberFilterExample', [])
      .controller('ExampleController', ['$scope', function($scope) {
        $scope.val = 1234.56789;
      }]);
  </script>
  <div ng-controller="ExampleController">
    Enter number: <input ng-model='val'><br>
    Default formatting: <span id='number-default'>{{val | number}}</span><br>
    No fractions: <span>{{val | number:0}}</span><br>
    Negative number: <span>{{-val | number:4}}</span>
  </div>
</body>
</html>