Clicking on a checkbox and calling ng-click: the model is not updated before ng-click kicks in so the checkbox value is wrongly presented in the UI:
This works in An
How about changing
to
From docs:
Evaluate given expression when user changes the input. The expression is not evaluated when the value change is coming from the model. Note, this directive requires ngModel to be present.
Evaluate given expression when user changes the input. The expression is not evaluated when the value change is coming from the model.
Note, this directive requires ngModel to be present.
ngModel