Details
-
Bug
-
Resolution: Fixed
-
Major
-
2.0-milestone-1
-
None
Description
There can be two problems:
- First use case:
- AngularJS is loaded as a dependency of the File Manager UI, using RequireJS,
- detects immediately <div ng-app="drive">
- attempts to load the drive module (File Manager UI) before RequireJS calls back the drive module, so it won't be defined
- Second use case:
- The File Manager UI modules may be loaded in the wrong order because we're using a JSX object for each module and each module makes a call to RequireJS. Even if all JSX objects are on the same page, the corresponding modules are loaded depending on how quick their dependencies are ready.