[AngularJS] Angular 2 (Final): resetConfig to add routes to lazy loaded routes

2016-09-22 Thread Andrea Bertoldo
Hello, I have posted a question on Stackoverflow but it's not getting answers. It's about dynamically adding routes to a lazy loaded module (with its own routes.config file) so as to load modules in multiple router outlets, something that isn't covered on the official documentation and doesn't s

[AngularJS] Re: Angular 2 (Final): resetConfig to add routes to lazy loaded routes

2016-09-27 Thread Andrea Bertoldo
Hi Sander, sorry for the late reply. I've assembled this plunkr: http://plnkr.co/edit/6aV5n5K5wdqdiYo49lZv. It's the first time I use plunkr so I apologize if something's wrong (to me it's extremely slow... but it works). So, with regard to the plunkr: what I am currently able to do is load co

[AngularJS] Re: Angular 2 (Final): resetConfig to add routes to lazy loaded routes

2016-09-29 Thread Andrea Bertoldo
Ok thanks! In the meantime I noticed that if I use a component to wrap the named router outlets it won't work, the router outlet must belong to the details component (see the plunkr). So I think I'll have to dynamically create the detail component's template as well as resetting the router conf

[AngularJS] Re: Angular 2 (Final): resetConfig to add routes to lazy loaded routes

2016-10-24 Thread Andrea Bertoldo
ng to look at it when I'm back > home. If you don't hear back from my by next Monday, shoot me a message. > Otherwise, I might forget. This week has been a rollercoaster :) > > Regards > Sander > > On Tuesday, September 27, 2016 at 2:26:47 PM UTC+2, Andrea Bertold

[AngularJS] Re: Angular 2 (Final): resetConfig to add routes to lazy loaded routes

2016-11-02 Thread Andrea Bertoldo
Hi Sander, this time I was away, at Lucca Comics, one of the biggest fairs on Comics and Games in Europe :) Yes, I'm working on a sort of widget dashboard, you get that right! Andrea On Monday, October 31, 2016 at 4:53:42 AM UTC+1, Sander Elias wrote: > > Hi Andrea, > > I just took a serious lo

[AngularJS] Re: Angular 2 (Final): resetConfig to add routes to lazy loaded routes

2016-11-24 Thread Andrea Bertoldo
... On Monday, October 31, 2016 at 4:53:42 AM UTC+1, Sander Elias wrote: > > Hi Andrea, > > I just took a serious look at your plunker. (yes, it's a tad slow for ng2. > but as you said, it works) > > So if I understand your request correctly, you want to create a list of > named router-outlets f