What is the simplest way to show datetime only till minutes?
<p>I have a input field of type "datetime-local" . When I am assigning to it the current TimeStamp, the input filed is showing the seconds and milliseconds also. What is the simplest way to show the time only till minutes ?</p>

<pre><code>  &lt;body ng-controller="MainCtrl"&gt;
    &lt;input type="datetime-local" class="form-control" id="DateTime" ng-model="formInfo.dateTime"&gt;  
  &lt;/body&gt;
</code></pre>

<p>The app.js is : </p>

<pre><code>var app = angular.module('plunker', []);

app.controller('MainCtrl', function($scope) {
   $scope.formInfo = {};
   $scope.formInfo.dateTime = new Date();
});
</code></pre>

<p>Here is the <a href="http://plnkr.co/edit/68XAbgvtz0kZHHeg4ILi" rel="nofollow">Plunker</a></p>