<h2>Contacts</h2>
<ul>
<li ng-repeat="contact in contacts">
<a ui-sref=".detail({ id: contact.id })" > {{ contact.name }}</a>
{{ contact.email }}
</li>
</ul>
<div ui-view="detail"></div>