Path Location Strategy of angular 2 with Hubspot?


#1

After a while I got my Angular2 app to run with Hubspot. It work’s great with the hash location strategy.
Here some example URLs:
example.com/path-to-app/#/
example.com/path-to-app/#/items/3

But if I change the strategy to the path location strategy, the app will cause an error by reloading the page. Redirects solved this problem, but then I always get the start page of my app after reload.

After changing to path location strategy:
example.com/path-to-app/
example.com/path-to-app/items/3

Is it possible to rewrite the “item detail page” to the app root instead of an redirect?