title: Append id to url
body: <pre><code>&lt;a ui-sref="Contacts.Details.{{contact.Id}}" ng-click="showContactDetail(contact.Id)"&gt;
  </code></pre>
  
  <p>Here there  is a ui-sref in which i am giving id.
  I want the url as per that contact.Id</p>
  
  <pre><code>state('Contacts.Details', {
      url: '/Details',
      templateUrl: 'Contact/Detail',
      controller: 'formController'
  })
  </code></pre>
  
  <p>here is the config for contacts.details</p>
  
  <p>i want to get contacts/details/(id which i clicked)</p>
  
  <p>can any one help me out.</p>