Is there a way to pass to angular directive ng-click the value of the associated input?
In other words, what should replace this.value
in the following:
<input type="checkbox" id="cb1" ng-click="checkAll(this.value)" />
PS. I don't want a workaround to alternate values, I just wonder if is possible to pass a value of an input as argument to an angular function.