There are certain special characters (such as '-') in some angular expressions:
<tr data-ng-repeat="asset in assets">
<td>{{asset.id}}</td>
<td>{{asset.display-name}}</td>
<td>{{asset.dns-name}}</td>
<td>{{asset.link[0].uri}}</td>
</tr>
In the code above, {{asset.display-name}}
and {{asset.dns-name}}
incorrectly print 0. How can we escape parts of an expression to fix this issue?