@angular/upgrade/static

入口点

主要

@angular/upgrade

次要

@angular/upgrade/static

导出列表

UpgradeComponent

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

UpgradeModule

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

函数

getAngularJSGlobal

Returns the current AngularJS global.

getAngularLib
setAngularJSGlobal

Resets the AngularJS global.

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