I have a repeater like this
<div ng-repeat="d in data">
<input type="checkbox" ng-mode="d.checked" name="someName" />
<span>{{d.name}}</span>
</div>
I want to get the input:checkbox for the row where span contains text 'test5' i.e. for which span is bound to d.name == 'test5'