ui-router / quickstart-ng2

DEPRECATED -- See https://github.com/ui-router/quickstart-angular
https://github.com/ui-router/quickstart-angular
MIT License
64 stars 20 forks source link

How to use multiple modules with new template? #11

Closed kolkov closed 8 years ago

kolkov commented 8 years ago

Hi! How to use multiple modules with this template properly? For example: FooModule, BarModule, CommonModule?

kolkov commented 8 years ago

As a result: Error: Error: Type UISref is part of the declarations of 2 modules: PublicModule and AppModule!(…)

christopherthielen commented 8 years ago

I'm working on first class NgModule support in beta.2, please stay tuned.

kolkov commented 8 years ago

Thank you! Will be glad to test in the forefront!

kolkov commented 8 years ago

I've submitted a pull request with updated modules to 1.0.0-beta.2, check it out, please.

christopherthielen commented 8 years ago

quickstart now has multiple modules FooModule, BarModule, BazModule where BazModule is lazy loaded

kolkov commented 8 years ago

Super! )