{ "id": "api/common/upgrade", "title": "@angular/common/upgrade", "contents": "\n\n
\n
\n
\n \n API > @angular/common\n
\n \n
\n \n
\n

@angular/common/upgradelink

\n \n \n \n \n
\n\n \n\n
\n

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

\n\n \n\n \n\n\n \n\n

Entry point exportslink

\n \n \n \n \n \n
\n

NgModuleslink

\n \n \n \n \n \n \n \n
LocationUpgradeModule\n \n

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

\n\n
\n
\n \n\n \n \n \n
\n

Classeslink

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
$locationShim\n \n

Location service that provides a drop-in replacement for the $location service\nprovided in AngularJS.

\n\n
$locationShimProvider\n \n

The factory function used to create an instance of the $locationShim in Angular,\nand provides an API-compatiable $locationProvider for AngularJS.

\n\n
AngularJSUrlCodec\n \n

A UrlCodec that uses logic from AngularJS to serialize and parse URLs\nand URL parameters.

\n\n
UrlCodec\n \n

A codec for encoding and decoding URL parts.

\n\n
\n
\n \n\n \n \n \n\n \n \n \n\n \n \n \n
\n

Structureslink

\n \n \n \n \n \n \n \n
LocationUpgradeConfig\n \n

Configuration options for LocationUpgrade.

\n\n
\n
\n \n\n \n \n \n\n \n \n \n\n \n \n \n
\n

Typeslink

\n \n \n \n \n \n \n \n
LOCATION_UPGRADE_CONFIGURATION\n \n

A provider token used to configure the location upgrade module.

\n\n
\n
\n \n\n
\n
\n\n\n" }