I have a bound data variable named 'bool' which has a value of 100. When I click a checkbox I'd like the value to increase by adding 50 to it. What am I doing wrong?
<div ng-app="app">
<h3 ng-model="bool = 100">BOOL</h3>
<input type="checkbox" ng-model="add = 50"/>
<div>{{bool + add}}</div>
</div>
Any help would be greatly appreciated,
Thank you :)