View source Improve this doc

ngList
directive in module ng

Description

Text input that converts between a delimited string and an array of strings. The delimiter can be a fixed string (by default a comma) or a regular expression.

Usage

as attribute
<input ng-list="{string}">
   ...
</input>

Parameters

ParamTypeDetails
ngList
(optional)
string

optional delimiter that should be used to split the value. If specified in form /something/ then the value will be converted into a regular expression.

Example

Source







Demo