Oh, nevermind I got it to work!
When typing the hash manually in the url bar (when the site is already loaded) it ignores it when the route does not exists. But loading the url with the hash from another page it works.
In the end, I’m finally using a RouteGuard to process it.
Thanks
Dan