I'm trying to match example.com
/?ref=thing in my router.
Going off this example in the docs (https://github.com/angular-ui/ui-router/wiki/URL-Routing):
url: "/contacts?myParam"
// will match to url of "/contacts?myParam=value"
I tried:
url: "/?ref"
But that doesn't work (ie. it does not direct me to that route)
I've also tried: "/ref/:value"
, but no. Also: /?
nope
All I can find in the docs is examples of routes that start with a base files
or user
.