Using AngularJS, I've noticed a pattern that seems wrong to me.
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.
A non-linked table cell looks like:
<td ng-bind="customer.name"></td>
But if I want to create a link, I do:
<td><a ng-href="/customer/{{customer.id}}">{{customer.name}}</a></td>
Is there a way to create the link using attributes? Something like:
<td ng-bind="customer.name" ng-href="/customer/{customer.id}"></td>