Answers for "angular hash sign in url"

0

angular hash sign in url

When configuring application routing in an angular project one can choose 
between regular HTML5 routing (PathLocationStrategy) or "hash-style URL" routing 
(HashLocationStrategy).

The default is PathLocationStrategy but hash-style routes can be implemented by 
passing {useHash: true} as the second parameter to the RouterModule.forRoot() function
Posted by: Guest on February-24-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language