title: Time filter doesn't work for time above 60 but below 70 seconds
body: <p>So I have a custom filter to display seconds (85) into clock display (1:25) but it doesn't work for certain times. Specifically above 60 seconds but below 70 seconds, it displays like this: 1:7 (67 secs) or 1:0 (60 secs). I don't know where to add to the logic to fix it. </p>
  
  <p>Thanks for the help in advance :)</p>
  
  <p>.</p>
  
  <pre><code>filter('timeconvert', function() {
  
    // Create the return function
    // set the required parameter name to **number**
    return function(number) {
  
  // Ensure that the passed in data is a number
  if(isNaN(number)) {
  
    // If the data is not a number
    return number;
  
  } else {
  
    // If the data we are applying the filter to is a number, perform the actions to check it's ordinal suffix and apply it.
    var hrs=0;
    var min=0;
    var sec=0;
  
    if (number/3600&gt;=1){
      var hrs=Math.floor(number/3600);
      var min=Math.floor((number-(hrs*3600))/60);
      var sec=(number-(hrs*3600)-(min*60));
      return hrs+':'+min +':'+ sec;
    }      
    else if (number/60&gt;=1){
      var min=Math.floor(number/60);
      var sec=Math.floor(number-(min*60));
      return min +':'+ sec;
    }
    else if(number/60&lt;1&amp;&amp;number/10&gt;=1){
      var min=0;
      var sec=number;
      return min +':'+ sec;
    }
    else if(number/10&lt;1){
      var min=0;
      var sec=number;
      return min +':'+ '0'+sec;
    }
  }
    }
  </code></pre>