feat(upgrade): allow setting the angularjs lib at runtime (#15168)

This PR adds an ability to reset the angularjs library, which is often needed when Angular
is loaded lazily using RequireJS.
This commit is contained in:
Victor Savkin
2017-04-14 12:04:28 -04:00
committed by Tobias Bosch
parent 65af9641c2
commit 8ad464d90e
4 changed files with 87 additions and 16 deletions

View File

@ -12,6 +12,7 @@
* Entry point for all public APIs of the upgrade/static package, allowing
* Angular 1 and Angular 2+ to run side by side in the same application.
*/
export {getAngularLib, setAngularLib} from './src/common/angular1';
export {downgradeComponent} from './src/common/downgrade_component';
export {downgradeInjectable} from './src/common/downgrade_injectable';
export {VERSION} from './src/common/version';