angular-xlsx-model
v0.1.2
Published
Angular model to convert XLSX files into JSON directly into the model
Downloads
251
Readme
angular-xlsx-model
Angular directive to convert XLSX files into JSON directly into the model.
Not compatible with Internet Explorer. It doesn't support JS readAsBinaryString. Will not fix.
Usage
Install with bower:
bower install angular-xlsx-model --save
Add to your HTML files:
<script src='/bower_components/xlsx-model/xlsx-model.js'></script>
Inject the directive to your angular application:
angular.module('myApp', ['xlsx-model']);
Start using:
index.html
:
<input type='file' xlsx-model='excel'>
<pre>{{excel | json}}</pre>
Demo
Check this Plunker: http://plnkr.co/edit/inETA0PcxIkm4EmS9qjD?p=preview.
Author
© 2016, Helvio Pedreschi <[email protected]>
.
License
The files are licensed under the MIT terms.