Hash fragment in Angular
This Article helps you to Understand, fragment. in Angular
To enable HashLocationStrategy in an Angular application we pass {useHash: true} when we are providing our routes with RouterModule
URL can contain some data prepended with a # character.
The # part of the URL is called the hash fragment.
It can be normal for developers who use the SPA to see a hash (#) at the URL. It is now possible to work on an application without noticing the infamous # character in the URL thanks to the new version of Angular.
Activate the hash (Mode 1)
OR
Activate the hash (Mode 2)