View source Improve this doc

ngList
directive in module ng

Description

Text input that converts between comma-separated string into an array of strings.

Usage

as attribute
<input ng-list="{string}">
   ...
</input>
as class
<input class="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