@angular/common/upgrade

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


@angular/common/upgrade

entry-point

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

Entry point exports

NgModules

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

Classes

$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.

Structures

LocationUpgradeConfig Configuration options for LocationUpgrade.

Types

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


© 2010–2021 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v11.angular.io/api/common/upgrade