title: Using AngularJS ng-bind and ng-href together?
body: <p>Using AngularJS, I've noticed a pattern that seems wrong to me. </p>
  
  <p>When building a table, my data is bound using ng-bind. But if I need the text in the cell to link to something, the link has to get created manually. </p>
  
  <p>A non-linked table cell looks like: </p>
  
  <pre><code>&lt;td ng-bind="customer.name"&gt;&lt;/td&gt;
  </code></pre>
  
  <p>But if I want to create a link, I do:</p>
  
  <pre><code>&lt;td&gt;&lt;a ng-href="/customer/{{customer.id}}"&gt;{{customer.name}}&lt;/a&gt;&lt;/td&gt;
  </code></pre>
  
  <p>Is there a way to create the link using attributes? Something like: </p>
  
  <pre><code>&lt;td ng-bind="customer.name" ng-href="/customer/{customer.id}"&gt;&lt;/td&gt;
  </code></pre>