<!DOCTYPE html>
<html>
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js"></script>
<body>

<div data-ng-app="" data-ng-init="x={{x-input}};y={{y-input}}">

<h2>Vert</h2>

X: <input type="text" ng-model="x-input" pattern="-?[0-9]*(\.[0-9]+)?">
Y: <input type="text" ng-model="y-input" pattern="-?[0-9]*(\.[0-9]+)?">

<p>Total : {{ x }} = {{ y }}</p>

</div>
<!-- <script>
  var app = angular.module('vert', []);
  x = {{ x }}
  y = {{ y }}
</script> -->
</body>
</html>

<!DOCTYPE html>
<html>
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js"></script>
<body>

<div data-ng-app="" data-ng-init="x={{x-input}};y={{y-input}}">

<h2>Vert</h2>

X: <input type="number" ng-model="x-input">
Y: <input type="number" ng-model="y-input">

<p>Total : {{ x }} = {{ y }}</p>

</div>
<!-- <script>
  var app = angular.module('vert', []);
  x = {{ x }}
  y = {{ y }}
</script> -->
</body>
</html>

Replace text input with date input
Replace text input with date input
