UpgradeModule

UpgradeModule

Experimental Class

What it does

Part of the upgrade/static library for hybrid upgrade apps that support AoT compilation

Allows Angular 1 and Angular 2+ components to be used together inside a hybrid upgrade application, which supports AoT compilation.

Specifically, the classes and functions in the upgrade/static module allow the following:

  1. Creation of an Angular 2+ directive that wraps and exposes an Angular 1 component so that it can be used in an Angular 2 template. See UpgradeComponent.
  2. Creation of an Angular 1 direct