Skip to content

Create a .config method to allow configuration change in lazy loaded modules #71

@marcoslin

Description

@marcoslin

Packages like ui-router allow runtime change of $stateProvider but it requires caching of $injector during the app.config phase. As angularAMD already does this, exposing this as .config method allow for post bootstrap .config call. Here is a sample implementation of lazy loading of $state from ui-router:

http://bl.ocks.org/marcoslin/b59cfa9a9a44bde04f9f

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions