Route names are required to be unique to all direct children of this parent.
OK:
foo bar baz qux foo bar baz
Not OK:
foo bar bar
In general, it is recommended that you have unique route names throughout, for better readability, although this is not a requirement.
When linking to a route, you must specify the full path of the route foo.bar.baz from the root or provide a relative route binding router.go('foo', parameters: {}, startingFrom: bar)
One place where unique route names can cause problems is query parameters, because query parameters have a route name prefix (rather than a full path) and can leak values ββbetween routes with the same name ( /foo?foo.param1=value ) . However, support for query parameters is incomplete, so anything can change.
source share