$locationProvider
Configuration provider for
$location service.Description
Use the $locationProvider to configure how the application deep linking paths
are stored.
Properties
$locationProvider.html5ModeConf
Type: Html5Mode
Default:
{ enabled: true, requireBase: false, rewriteLinks: true }Example:
angular.module('demo', []).config(($locationProvider) => { $locationProvider.html5ModeConf.enabled = false; });
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.