Aurelia 2 router configuration bug

This is an example from documentation
I added data to route configuration:
data: { data1: "data1" }
and when I’m trying access this data, I get data: undefined.