mode (optional) | boolean Object | If boolean, sets html5Mode.enabled to value. If object, sets enabled , requireBase and rewriteLinks to respective values. Supported properties: -
enabled âÂÂ
{boolean} â (default: false) If true, will rely on history.pushState to change urls where supported. Will fall back to hash-prefixed paths in browsers that do not support pushState . -
requireBase -
{boolean} - (default: true ) When html5Mode is enabled, specifies whether or not a tag is required to be present. If enabled and requireBase are true, and a base tag is not present, an error will be thrown when $location is injected. See the $location guide for more information
-
rewriteLinks -
{boolean} - (default: true ) When html5Mode is enabled, enables/disables url rewriting for relative links.
|
Please login to continue.