diff --git a/src/ng/directive/select.js b/src/ng/directive/select.js index 9d7dd84a376d..dc9e82384769 100644 --- a/src/ng/directive/select.js +++ b/src/ng/directive/select.js @@ -69,13 +69,16 @@ var ngOptionsMinErr = minErr('ngOptions'); * * for array data sources: * * `label` **`for`** `value` **`in`** `array` * * `select` **`as`** `label` **`for`** `value` **`in`** `array` + * * `label` **`disable if`** `cond` **`for`** `value` **`in`** `array` * * `label` **`group by`** `group` **`for`** `value` **`in`** `array` - * * `select` **`as`** `label` **`group by`** `group` **`for`** `value` **`in`** `array` **`track by`** `trackexpr` + * * `select` **`as`** `label` **`disable if`** `cond` **`group by`** `group` + * **`for`** `value` **`in`** `array` **`track by`** `trackexpr` * * for object data sources: * * `label` **`for (`**`key` **`,`** `value`**`) in`** `object` * * `select` **`as`** `label` **`for (`**`key` **`,`** `value`**`) in`** `object` + * * `label` **`disable if`** `cond` **`for (`**`key` **`,`** `value`**`) in`** `object` * * `label` **`group by`** `group` **`for (`**`key`**`,`** `value`**`) in`** `object` - * * `select` **`as`** `label` **`group by`** `group` + * * `select` **`as`** `label` **`disable if`** `cond` **`group by`** `group` * **`for` `(`**`key`**`,`** `value`**`) in`** `object` * * Where: @@ -88,6 +91,8 @@ var ngOptionsMinErr = minErr('ngOptions'); * `expression` will most likely refer to the `value` variable (e.g. `value.propertyName`). * * `select`: The result of this expression will be bound to the model of the parent `