{{outlet}} Outlet <input type="checkbox" ng-model='property'/> become
0 Outlet #unchecked input#
If I check the checkbox it become
true Outlet #checked input#
If I check it again it become
true Outlet #checked input#
Is there a way to define two values to use with true/false?
Thanks!
Antonello
Hi!
Have a look at the ngTrueValue / ngFalseValue:
http://docs.angularjs.org/api/ng.directive:input.checkbox
Cheers,
Pawel