From 191962498db91489f4eebf2a5a38b20872505e7f Mon Sep 17 00:00:00 2001 From: Raf Date: Tue, 29 Jan 2013 20:33:00 +0500 Subject: [PATCH] Solution to #1911 Here is the solution to issue #1911 --- src/ng/directive/input.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ng/directive/input.js b/src/ng/directive/input.js index aaabd1033398..725e8bdfa2e1 100644 --- a/src/ng/directive/input.js +++ b/src/ng/directive/input.js @@ -643,7 +643,7 @@ function checkboxInputType(scope, element, attr, ctrl) { }; ctrl.$formatters.push(function(value) { - return value === trueValue; + return value == trueValue; }); ctrl.$parsers.push(function(value) {