I have more than 100 routes. For each route, I need to set a unique name. And on route change, I need to attach this unique name based on route change to window object.