From 52c1498e25992f93ada72ea0621755ff2242b97f Mon Sep 17 00:00:00 2001 From: Hamish Macpherson Date: Mon, 6 May 2013 17:57:00 -0700 Subject: doc(input): fix small typo in code example --- src/ng/directive/input.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ng') diff --git a/src/ng/directive/input.js b/src/ng/directive/input.js index 8ab6f696..1a13a0d5 100644 --- a/src/ng/directive/input.js +++ b/src/ng/directive/input.js @@ -739,7 +739,7 @@ function checkboxInputType(scope, element, attr, ctrl) { myForm.userName.$valid = {{myForm.userName.$valid}}
myForm.userName.$error = {{myForm.userName.$error}}
myForm.lastName.$valid = {{myForm.lastName.$valid}}
- myForm.userName.$error = {{myForm.lastName.$error}}
+ myForm.lastName.$error = {{myForm.lastName.$error}}
myForm.$valid = {{myForm.$valid}}
myForm.$error.required = {{!!myForm.$error.required}}
myForm.$error.minlength = {{!!myForm.$error.minlength}}
-- cgit v1.2.3