Answer the question
In order to leave comments, you need to log in
How to get the value of a checkbox in angular?
<div class="checkbox">
<label>
<input type="checkbox" ng-model="ch1" value="10000"> Услуга 1
</label>
</div>
<div class="checkbox">
<label>
<input type="checkbox" ng-model="ch2" value="10000"> Услуга 2
</label>
</div>
<span>Стоимость услуг составила: </span><span>{{ch1 + ch2}}</span>
Answer the question
In order to leave comments, you need to log in
read documentation https://docs.angularjs.org/api/ng/input/input%5Bch...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question