[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

[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-10-30 Thread Sander Elias
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 from within a component, and then create a router-config that matches. (and after that p

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

2016-10-27 Thread Sander Elias
Hi Andreas, I'm sorry, I did forget. Well I'm just returned from ngEurope, and will give it a go tomorrow! Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular" group. To unsubscribe from this group and stop receiving emails from it, send an em

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

2016-10-24 Thread Andrea Bertoldo
Too bad you couldn't help. Thanks anyway for your time. On Thursday, September 29, 2016 at 8:21:57 PM UTC+2, Sander Elias wrote: > > Hi Andrea, > > As I have been out to Angularconnect I did miss your response, this is one > that will take me a bit more time, so I'm going to look at it when I'm b

[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-09-29 Thread Sander Elias
Hi Andrea, As I have been out to Angularconnect I did miss your response, this is one that will take me a bit more time, so I'm going 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 rollercoaste

[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-22 Thread Sander Elias
Hi Andrea, Do you have a sample project for this, so I can give it a spin? I have read into this, and as far as I can tell, you should be able to do a resetConfig in your module. I'm not sure though of that resets the module's router or the complete router. A simple way is to examine and adjust