-
Notifications
You must be signed in to change notification settings - Fork 26.8k
Description
Description
When upgrading from AngularJS to Angular, it may be needed to declare the libraries to load in the browser in angular.js / build.options.scripts , including angular.js.
This could be added to the documentation? (Indeed the examples given are based on SystemJS but we don't use it because Angular uses already Webpack).
What's the affected URL?
https://angular.io/guide/upgrade#bootstrapping-hybrid-applications
Reproduction Steps
upgrade to AngularJS 1.7
remove Grunt and use angular-cli
use ngUpgrade (app.module.ts and app.module.ajs.ts)
removed require("angular") (use of the AngularJS global angular)
🔥 Exception or Error
Angular 1.x not loaded !
generated by this.upgrade.bootstrap(document.body, [App])
Anything else relevant?
More details here:
https://stackoverflow.com/questions/54807576/upgrading-to-an-angular-angularjs-hybrid-application-getting-typescript-errors/