In the context of route’s beforeModel(transition), I am trying to get hold of the params being passed in from a link-to. But I keep getting undefined from transition.queryParams.foo so I use transition.params[‘controller’].foo instead.
I probably missed the docs but what’s the difference between transition.params and transition.queryParams? And which is the right way to obtain the params from link-to in beforeModel()?