How can I give an child element of an ui-sref anchor the ui-sref-active class?
I tried to do this in my menu on all anchors:
<a ui-sref="some.route">
<h2 ui-sref-active="selected">CLICK HERE</h2>
</a>
but it doesn't work. I'm new to Angular, so could someone maybe tell me what I'm doing wrong?