Cookies concent notice

This site uses cookies from Google to deliver its services and to analyze traffic.
Learn more
Skip to main content
Say hello to Angular's future home!Check out Angular.devHome
/

@angular/common/upgrade

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