Closed b3kN closed 8 years ago
Will this mesh alright with the fact that we are using the deprecated beta
router in the pack right now? Also, wouldn't it be better to house this addition in src/platform/providers.ts
?
I think it should mesh fine as it is really just changing the LocationStrategy
within the router, regardless of the fact we use the deprecated router.
I didn't see the providers.ts until after this PR, I have an updated branch using that file instead of hacking into the bootstrap.
After seeing the APPLICATION_PROVIDERS
constant, I don't think this PR is necessary. It is nice to see how easy it is to modify the LocationStrategy
though.
Yeah, I think I am going to merge it anyway, I prefer my URL
s without the hash signs.
Up to you if you want it in or not, but I added a configuration options for allowing the user to configure the LocationStrategy
they prefer. A little more "Hacky" than I would like however...
I think I will just default to PathLocationStrategy
in the pack and not even give notice to HashLocationStrategy
Feature to enable PathLocationStrategy