Skip to content

ngload fails to load module that create submodules internally #67

@marcoslin

Description

@marcoslin

ngload fails in scenario where a sub module is created and subsequently referred to using angular.module("modName");. This issue is left over from #3 and identified again in #65. An example of such 3rd party package is ngGrid.

angularAMD is coded to return undef when a module is created using alt_angular to prevent user to retrieve the copy of that module post .processQueue. The reason behind this is that .processQueue will copy all the definition into app, and a different instance would be returned if called using angular.module("modName");.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions