W3cubDocs

/Angular 10

@angular/upgrade/static

entry-point

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

Entry point exports

NgModules

UpgradeModule

An NgModule, which you import to provide AngularJS core services, and has an instance method used to bootstrap the hybrid upgrade application.

Functions

downgradeComponent

A helper function that allows an Angular component to be used from AngularJS.

downgradeInjectable

A helper function to allow an Angular service to be accessible from AngularJS.

downgradeModule

A helper function for creating an AngularJS module that can bootstrap an Angular module "on-demand" (possibly lazily) when a downgraded component needs to be instantiated.

getAngularJSGlobal

Returns the current AngularJS global.

getAngularLib

Deprecated: Use getAngularJSGlobal instead.

setAngularJSGlobal

Resets the AngularJS global.

setAngularLib

Deprecated: Use setAngularJSGlobal instead.

Directives

UpgradeComponent

A helper class that allows an AngularJS component to be used from Angular.

© 2010–2020 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v10.angular.io/api/upgrade/static