angular-ui-router Custom parameter types


decodeConverts URL value (string) to the value available in $stateParams
encodeConverts a value to the string that will be used in the URL
equalsVerifies if two values are equal from the type's point of view
isChecks if the value can be used as defined parameter type
patternEnsures that the values from URL matches this pattern when route resolves