<html ng-app="numeric">
  <head>
    <script src="/third_party/static/jquery-2.0.3/jquery.min.js"></script>
    <script src="/third_party/static/angularjs-1.2.0-rc.3/angular.min.js"></script>

    <script>
      var GLOBALS = {};
    </script>
  </head>

  <body onload="onWidgetLoad()">
    <div ng-controller="NumericInput">
      <form ng-submit="submitAnswer(answer)">
        <input type="number" ng-model="answer" placeholder="<[placeholder]>"
               required autofocus
               oninvalid="setCustomValidity('Please enter a number.')"
               onchange="try{setCustomValidity('')}catch(e){}">
        <button type="submit">Submit</button>
      </form>
    </div>

    <script src="/extensions/widgets/interactive/NumericInput/static/js/NumericInput.js">
    </script>
  </body>
</html>

<html ng-app="numeric">
  <head>
    <script src="/third_party/static/jquery-2.0.3/jquery.min.js"></script>
    <script src="/third_party/static/angularjs-1.2.0-rc.3/angular.min.js"></script>

    <script>
      var GLOBALS = {};
    </script>
  </head>

  <body onload="onWidgetLoad()">
    <div ng-controller="NumericInput">
      <form ng-submit="submitAnswer(answer)">
        <input type="number" ng-model="answer" placeholder="<[placeholder]>"
               step="any"
               required autofocus
               oninvalid="setCustomValidity('Please enter a number.')"
               onchange="try{setCustomValidity('')}catch(e){}">
        <button type="submit">Submit</button>
      </form>
    </div>

    <script src="/extensions/widgets/interactive/NumericInput/static/js/NumericInput.js">
    </script>
  </body>
</html>

Allow the numeric input widget to accept decimal answers (not just integers).
Allow the numeric input widget to accept decimal answers (not just integers).
