AngularJS Directives

AngularJS Filters and Elements

AngularJS Tutorials

AngularJS ng list Directive

AngularJS ng-list Directive



The ng-list directive is used to convert a string into an array of strings, using a comma as the default separator or it converts an array of strings into an input field as a string. For this purpose, we have to add an ng-list directive to the input field. The value of the ng-list attribute defines the separator.




< element ng-list="separator" >< /element >


Further Explanation:-


Value Description
separator Optional, defines the separator.

Code Explanation

All Tutorials related to AngularJS Directives

All Sections related to AngularJS