If routeParams are undefined, no href attribute should be rendered. This matches the behaviour of ngHref.