[AngularJS] Re: How to subscribe to route parameters changes (both path and query)

2017-04-20 Thread Sander Elias
This might help there -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails

[AngularJS] Re: How to subscribe to route parameters changes (both path and query)

2017-04-20 Thread Sander Elias
That's up to you. Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscr...@googlegroups.com. To post to this

[AngularJS] Re: How to subscribe to route parameters changes (both path and query)

2017-04-20 Thread Sergei Kasoverskij
Thanks again. I suppose it will "load data" twice if both parameters change? On Thursday, April 20, 2017 at 1:48:12 PM UTC+2, Sander Elias wrote: > > Hi Sergei, > > Yes it will, but use the merge operator instead of the zip one. > > Regards > Sander > -- You received this message because you

[AngularJS] Re: How to subscribe to route parameters changes (both path and query)

2017-04-20 Thread Sander Elias
Hi Sergei, Yes it will, but use the merge operator instead of the zip one. Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to

[AngularJS] Re: How to subscribe to route parameters changes (both path and query)

2017-04-20 Thread Sergei Kasoverskij
Hi, Thanks for you reply. But I think your approach will work only if both parameters are changed, but won't work if I'll change only query or only path parameters. On Thursday, April 20, 2017 at 4:43:49 AM UTC+2, Sander Elias wrote: > > Hi Sergei, > > Merge those before subscribing to them.

[AngularJS] Re: How to subscribe to route parameters changes (both path and query)

2017-04-19 Thread Sander Elias
Hi Sergei, Merge those before subscribing to them. Look up the zip operator. Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email