Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

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
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #angular #hash #sign #url
ADD COMMENT
Topic
Name
5+2 =