ng-list

What is ng-list:ng-list used to convert text as array of strings and text must be separated by delimiter.
Description of ng-list:ng-list is useful when we have some input and want an array of these input, so we have to enter this string with any delimiter (default delimiter is common which is followed by space). We can specify our custom delimiter too..
Syntax of ng-list:
<input ng-model="values" ng-list/>
How to Use ng-list/ng-list Example::
 Example 1:
<div ng-app="webapp">
    <div >
        <div>
            Angularjs Example of ng-list
            <input ng-model="values" ng-list />

        </div>
    </div>

</div>

No comments :

Post a Comment