Angularjs: Hashbang and HTML5 Modes
Blogs20142014-06-29
Angularjs: Hashbang and HTML5 Modes
$location service has 2 configuration modes which control the format of the URL in the browser address bar:
- Hashbang mode (the default)
- HTML5 mode which is based on using the HTML5 History API.
Applications use the same API in both modes and the $location service will work with appropriate URL segments and browser APIs to facilitate the browser URL change and history management.
The help image is from https://docs.angularjs.org/guide/$location:

