aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHamish Macpherson2013-05-06 17:57:00 -0700
committerPete Bacon Darwin2013-05-07 09:48:40 +0100
commit52c1498e25992f93ada72ea0621755ff2242b97f (patch)
treeda54363f6ddb69260a6b53114023e2fc7b4d0a82
parent2c69a6735e8af5d1b9b73fd221274d374e8efdea (diff)
downloadangular.js-52c1498e25992f93ada72ea0621755ff2242b97f.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 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) {
<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>