code: function zeropad(input, length) {
        input = input + ''; // Ensure input is a string.
        length = length || 2; // Ensure a length is set.
        return input.length >= length ? input : new Array(length - input.length + 1).join('0') + input;
      }
docs: Zero padding function.
  Used as both a filter and internally here.
  
  @param input
  @param length
  @returns {string}