I guess you will have to add it manually like: this.router.navigateByUrl(prevComponent.urlPath + '/paramName/' + prevComponent.params['paramName']);
Ugly, but might work. Also Instruction is composed of ComponentInsturctions. So you might somehow figure out how to use router.navigateByInstruction with building a new Instruction with the prevComponentInstruction inside. Am Mittwoch, 3. Februar 2016 19:34:23 UTC+1 schrieb Zsolt Kovács: > > Thanks Hans, it works, but how can I pass the urlParams ? > > There are 3 navigate methods defined in Router, and I am a sort of miss > the navigateByComponentInstruction() version to make my life easier. > > Zsolt > > > > On 3 February 2016 at 14:55, HansMeise <[email protected] > <javascript:>> wrote: > >> >> > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
