<ul>
<li ui-sref-active="selected" ng-repeat="show in shows">
<a ui-sref=".detail({ id: show.id })">{{ show.name }}</a>
</li>
</ul>
<div class="detail" ui-view></div>