refactor($interpolate): remove some unnecessary logic, add boolean stringify shortcut
refactor($interpolate): move standalone functions to the service scope