title: AngularJS - How do you convert milliseconds to xHours and yMins
body: <p>I've a requirement where I want to convert milliseconds to xHours and yMins in AngularJS.</p>
  
  <p>For ex. 3600000 should be displayed as 1h 0m.</p>
  
  <p>I tried using <code>date:'H:m'</code> and <code>date:'HH:mm'</code> from the <a href="http://docs.angularjs.org/api/ng.filter%3adate">date formats</a> on Angular's website.</p>
  
  <p>But those give 19:0 and 19:00 instead of 1h 0m.</p>
  
  <p>Any pointers of achieving this will be helpful.</p>
  
  <p>Thanks</p>