UpgradeAdapterRef
Use UpgradeAdapterRef
to control a hybrid AngularJS / Angular application.
Deprecated: Deprecated since v5. Use upgrade/static
instead, which also supports
Ahead-of-Time compilation.
class UpgradeAdapterRef {
ng1RootScope: angular.IRootScopeService
ng1Injector: angular.IInjectorService
ng2ModuleRef: NgModuleRef<any>
ng2Injector: Injector
ready(fn: (upgradeAdapterRef: UpgradeAdapterRef) => void)
dispose()
}
Properties
Property | Description |
---|---|
ng1RootScope: angular.IRootScopeService
|
|
ng1Injector: angular.IInjectorService
|
|
ng2ModuleRef: NgModuleRef<any>
|
|
ng2Injector: Injector
|
Methods
Register a callback function which is notified upon successful hybrid AngularJS / Angular application has been bootstrapped. |
|||
Parameters
|
|||
The |
Dispose of running hybrid AngularJS / Angular application. |
ParametersThere are no parameters. |