How can i get this .coefficient value using angular? I'm trying to use ng-click with code below, but i can get the whole html only for first .coefficient value (i have a huge bunch of radios just like this). I can solve this problem with jquery, but i need multiply .coefficient value to dynamic add input.
$scope.getCoeff = function(){
var coefficient = document.body.querySelector('.coefficient');
console.log(coefficient);
}
<label class="bet-team-box" for="radio-1">
<input class="bet-main-input" id="radio-1" name="group1" type="radio" ng-click="getCoeff()">
<span class="fake-label">
<span class="team">Midnight Sun Esports</span>
<span class="img-box"><img src="images/logo-team-04.png" alt="image description" width="20" height="20" /></span>
<span class="coefficient">12.43</span>
</span>
</label>