$locationShimProvider
Class
stable
The factory function used to create an instance of the $locationShim in Angular,
and provides an API-compatible $locationProvider for AngularJS.
constructor
$locationShimProvider@paramlocation
Location@paramplatformLocation
PlatformLocation@paramlocationStrategy
LocationStrategy@returns
$locationShimProvider$get
$locationShimFactory method that returns an instance of the $locationShim
@returns
$locationShimhashPrefix
voidStub method used to keep API compatible with AngularJS. This setting is configured through
the LocationUpgradeModule's config method in your Angular app.
@paramprefix
string | undefined@returns
voidhtml5Mode
voidStub method used to keep API compatible with AngularJS. This setting is configured through
the LocationUpgradeModule's config method in your Angular app.
@parammode
any@returns
voidJump to details