The only way around it I can think of is `elm.attr(attrs.$attr.uiRoute)` instead but this won't work if used as a class. I have NO idea why it's undefined.