title: Format input field "time" to not show seconds and milliseconds
body: <p>in AngularJS 1.5 I have a form with an input field of type "time". It works, but the time shown should be HH:mm - without seconds, etc.</p>
  
  <p>Chrome does this by default, but Firefox and Internet Explorer show with seconds and milliseconds (e.g. "14:56:00.000" instead of "14:56").</p>
  
  <p>How can we show the required time format in all browsers?</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;html lang="en"&gt;
  &lt;head&gt;
    &lt;meta charset="UTF-8"&gt;
    &lt;title&gt;Example - example-time-input-directive-production&lt;/title&gt;
    
    &lt;script src="//code.angularjs.org/snapshot/angular.min.js"&gt;&lt;/script&gt;
      
  &lt;/head&gt;
  &lt;body ng-app="timeExample"&gt;
    &lt;script&gt;
   angular.module('timeExample', [])
     .controller('DateController', ['$scope', function($scope) {
       $scope.example = {
         value: new Date(1970, 0, 1, 14, 56)
       };
     }]);
  &lt;/script&gt;
  &lt;form name="myForm" ng-controller="DateController as dateCtrl"&gt;
     &lt;label for="exampleInput"&gt;Pick a time between 8am and 5pm:&lt;/label&gt;
     &lt;input type="time" id="exampleInput" name="input" ng-model="example.value"
         placeholder="HH:mm" min="08:00" max="17:00" required /&gt;
     &lt;div role="alert"&gt;
       &lt;span class="error" ng-show="myForm.input.$error.required"&gt;
           Required!&lt;/span&gt;
       &lt;span class="error" ng-show="myForm.input.$error.time"&gt;
           Not a valid date!&lt;/span&gt;
     &lt;/div&gt;
     &lt;tt&gt;value = {{example.value | date: "HH:mm:ss"}}&lt;/tt&gt;&lt;br/&gt;
     &lt;tt&gt;myForm.input.$valid = {{myForm.input.$valid}}&lt;/tt&gt;&lt;br/&gt;
     &lt;tt&gt;myForm.input.$error = {{myForm.input.$error}}&lt;/tt&gt;&lt;br/&gt;
     &lt;tt&gt;myForm.$valid = {{myForm.$valid}}&lt;/tt&gt;&lt;br/&gt;
     &lt;tt&gt;myForm.$error.required = {{!!myForm.$error.required}}&lt;/tt&gt;&lt;br/&gt;
  &lt;/form&gt;
  &lt;/body&gt;
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>Thank you!</p>