injectRouteFragment
is a helper function that allows you to inject url fragment from the current route as a signal.
Usage
injectRouteFragment
when is called, returns a signal with the current route fragment.
You can pass transform function or custom injector.