I need help with a code snippet I'm working on. Here is what it looks like:
<tr ng-repeat="obj in objs">
<td onClick = "someFunction({{obj.val1}})">{{obj.val2}}</td>
<td>{{obj.val3}}</td>
</tr>
While the columns are displaying val2 and val3 correctly, I am having trouble getting the onClick method to work properly. The value of {{obj.val1}}
does not translate into the proper value as expected.
Is there a way for me to pass {{obj.val1}}
onto the onClick event successfully? Any suggestions on how to achieve this?