convert minutes into hours angular code example
Example: angular minutes to hour and minutes
var totalTimeInMinutes = 90;
var hour = Math.floor(totalTimeInMinutes / 60); //1h
var minutes = totalTimeInMinutes - (hour * 60); //30m
var totalTimeInMinutes = 90;
var hour = Math.floor(totalTimeInMinutes / 60); //1h
var minutes = totalTimeInMinutes - (hour * 60); //30m