aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShyam Seshadri2013-04-19 12:14:10 +0530
committerPete Bacon Darwin2013-04-19 13:36:22 +0100
commitf77b906d670b27acf4fb0deedb5580493fa212e9 (patch)
tree42c227fa0fc37d3d3f59f6d9f0df6fbdfed17115
parent4c7baf970faa90efe9cbd19933f5648353b02f43 (diff)
downloadangular.js-f77b906d670b27acf4fb0deedb5580493fa212e9.tar.bz2
docs(select): fix attribute documentation
Select documentation was still referring to binding to name, when it should be ng-model instead. Fixed it.
-rw-r--r--src/ng/directive/select.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ng/directive/select.js b/src/ng/directive/select.js
index 22fa73f5..73671e03 100644
--- a/src/ng/directive/select.js
+++ b/src/ng/directive/select.js
@@ -27,7 +27,8 @@
* `select` model to be bound to a non-string value. This is because an option element can currently
* be bound to string values only.
*
- * @param {string} name assignable expression to data-bind to.
+ * @param {string} ngModel Assignable angular expression to data-bind to.
+ * @param {string=} name Property name of the form under which the control is published.
* @param {string=} required The control is considered valid only if value is entered.
* @param {string=} ngRequired Adds `required` attribute and `required` validation constraint to
* the element when the ngRequired expression evaluates to true. Use `ngRequired` instead of