attrs.uiRoute evaluates to false all the time. I guess its because its getting treated as directive attribute.