An example project, that showcases a directive that handles duration inputs in forms.
It converts inputs like 150, 15m, 1h26, 1:45, 1 45, 1.5 into minutes as the output of the formfield, and standerdizes the displayed value of the formfield to 1 h 24 m format
You can find a working demo here