0

I am trying to bootstrap angularjs using angular. Both applications are in different directories, like this.

Webapp

  • Angular
  • Angularjs

When I try to use the upgrade module in my angular to bootstrap the angularjs, I get this error saying that "angular is not defined in my angularjs file" where the angular.module is called. I have the tag in my html that links to my angularjs.min file. I tried to add an import statement in my angularjs before the angular.module is called but I keep getting an error saying "cant add an import outside module" and my angularjs app breaks.

Is is possible to do this bootstrapping when both apps are in different folders? The angularjs app is huge and angular app was created later on. So, that is why they are in different directories.

Yaya
  • 9
  • 1

0 Answers0