Cookies concent notice

This site uses cookies from Google to deliver its services and to analyze traffic.
Learn more
Skip to main content
This site is no longer updated.Head to Angular.devHome
/

This is the archived documentation for Angular v17. Please visit angular.dev to see this page for the current version of Angular.

@angular/upgrade

Provides support for upgrading applications from Angular JS to Angular. The primary entry point is deprecated. Use the secondary entry point, upgrade/static.

See Angular deprecation policy.

Entry points

Primary

@angular/upgrade

Deprecated: all exports of this entry point are deprecated.

Provides support for upgrading applications from Angular JS to Angular. The primary entry point is deprecated. Use the secondary entry point, upgrade/static.

Secondary

@angular/upgrade/static

Supports the upgrade path from AngularJS to Angular, allowing components and services from both systems to be used in the same application.

@angular/upgrade/static/testing

Supplies testing functions for the AngularJS-to-Angular upgrade path.

Primary entry point exports

Deprecated: all exports of this entry point are deprecated.

Classes

UpgradeAdapter

Deprecated: Deprecated since v5. Use upgrade/static instead, which also supports Ahead-of-Time compilation.

Use UpgradeAdapter to allow AngularJS and Angular to coexist in a single application.

UpgradeAdapterRef

Deprecated: Deprecated since v5. Use upgrade/static instead, which also supports Ahead-of-Time compilation.

Use UpgradeAdapterRef to control a hybrid AngularJS / Angular application.