I have noticed that the ui-sref
directive is not optional, meaning I have to specify a state. I think this is too much of a constraint, because depending on the bound object on the a
tag, one would want to bind to ng-href
OR to ui-sref
.
Is this somehow possible?