Format Date and time into 24 hours format
<p>I am creating a app using angularjs.Here is my code:</p>

<pre><code>$scope.from = $filter('date')(new Date(), 'yyyy-MM-dd hh:mm');
</code></pre>

<p>It shows me output like:<code>2016-05-15 06:30</code>
But I want to show like:<code>2016-05-15 18:30</code></p>