From 5ffef11fddef498b22a0e96aa4b86a9784e02c75 Mon Sep 17 00:00:00 2001 From: Tim Raymond Date: Tue, 15 Jul 2014 07:44:23 -0400 Subject: [PATCH] docs(ngValue):Replace input[select] with option for clarity It is impossible to create an `input[select]`, so it appears the intention here was actually `option`. Fixes #7994 --- src/ng/directive/input.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ng/directive/input.js b/src/ng/directive/input.js index bf3111e8ffcd..617637af9fab 100644 --- a/src/ng/directive/input.js +++ b/src/ng/directive/input.js @@ -2445,9 +2445,9 @@ var CONSTANT_VALUE_REGEXP = /^(true|false|\d+)$/; * @name ngValue * * @description - * Binds the given expression to the value of `input[select]` or `input[radio]`, so - * that when the element is selected, the `ngModel` of that element is set to the - * bound value. + * Binds the given expression to the value of `option` or `input[radio]`, so + * that when the element is selected, the `ngModel` of that element is set to + * the bound value. * * `ngValue` is useful when dynamically generating lists of radio buttons using `ng-repeat`, as * shown below.