From Get docs
< @angular/commonAngular/docs/10/api/common/upgrade



Provides tools for upgrading from the $location service provided in AngularJS to Angular's unified location service.

Entry point exports


LocationUpgradeModule NgModule used for providing and configuring Angular's Unified Location Service for upgrading.


$locationShim Location service that provides a drop-in replacement for the $location service provided in AngularJS.
$locationShimProvider The factory function used to create an instance of the $locationShim in Angular, and provides an API-compatiable $locationProvider for AngularJS.
AngularJSUrlCodec A UrlCodec that uses logic from AngularJS to serialize and parse URLs and URL parameters.
UrlCodec A codec for encoding and decoding URL parts.


LocationUpgradeConfig Configuration options for LocationUpgrade.


LOCATION_UPGRADE_CONFIGURATION A provider token used to configure the location upgrade module.

© 2010–2020 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.