In AngularJS, setting this line {{movie.duration | secondsToHHMM | date:'HH:mm'}} gives => 02:34 (2 hours and 34 minutes). I would like to have the output to be '2H 34M' instead of 02:34 format. How can I customize the time format in the placeholder?
'movie.duration', course comes from an ng-repeat, ng-repeat="movie in movies", btw
I'm brand new to AngularJS, your help will be much appreciated!
Thanks in advance!