aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHamish Macpherson2013-05-06 17:57:00 -0700
committerPete Bacon Darwin2013-05-07 09:48:59 +0100
commitbc04afe1835f9c506b946dcb28a13158ace32a70 (patch)
treebcff288837594c73b4280de0f5c3512681e9087b
parentac086ae61619a86ee77149f39193d264a191932a (diff)
downloadangular.js-bc04afe1835f9c506b946dcb28a13158ace32a70.tar.bz2
doc(input): fix small typo in code example
-rw-r--r--src/ng/directive/input.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ng/directive/input.js b/src/ng/directive/input.js
index 115aac8b..8b6b4dc9 100644
--- a/src/ng/directive/input.js
+++ b/src/ng/directive/input.js
@@ -722,7 +722,7 @@ function checkboxInputType(scope, element, attr, ctrl) {
<tt>myForm.userName.$valid = {{myForm.userName.$valid}}</tt><br>
<tt>myForm.userName.$error = {{myForm.userName.$error}}</tt><br>
<tt>myForm.lastName.$valid = {{myForm.lastName.$valid}}</tt><br>
- <tt>myForm.userName.$error = {{myForm.lastName.$error}}</tt><br>
+ <tt>myForm.lastName.$error = {{myForm.lastName.$error}}</tt><br>
<tt>myForm.$valid = {{myForm.$valid}}</tt><br>
<tt>myForm.$error.required = {{!!myForm.$error.required}}</tt><br>
<tt>myForm.$error.minlength = {{!!myForm.$error.minlength}}</tt><br>