Im looking for a way to do on the tr-click.
then remove all the img tags within them (<img src="/img/hake_svart.png" width="30" height="30">) and select that value within the td.
elsewise, insert the picture, and un-check the checkbox.
wanted result image: (means two is checked, one is not)
function:
<tr ng-repeat="minion in vm.minions" class="drep_bot_row">
<td width="40" ng-init="vm.totalprice = vm.totalprice + minion.attack">
<img src="/img/hake_svart.png" width="30" height="30">
<input type="checkbox" class="ng-hide" ng-model="multiplecheckbox" value="{{ minion.value }} ">
</td>
</tr>
