This is a demo implementation of ng-paste-from, an AngularJS directive to parse tabular plain text data into a model on your scope.
The directive can use any string or regular expression as row and column separators.
Documentation and source code for this demo and ng-paste-from.
This demo expects two columns: "name" and "email".
Name | E-mail address |
---|---|
{{u.name || u[0]}} | {{u.email || u[1]}} |
You can paste directly from Excel into the directive. It will use tab characters as column separators.