Skip to content
/ ng-csv Public
forked from asafdav/ng-csv

Simple directive that turns arrays and objects into downloadable CSV files

Notifications You must be signed in to change notification settings

fvelosa/ng-csv

 
 

Repository files navigation

ng-csv

Simple directive that turns arrays and objects into downloadable CSV files

Usage

  1. Add ng-csv.min.js to your main file (index.html)

  2. Set ngCsv as a dependency in your module

var myapp = angular.module('myapp', ['ngCsv'])
  1. Add ng-csv directive to the wanted element, example:
<button type="button" ng-csv="getArray()" filename="test.csv">Export</button>

About

Simple directive that turns arrays and objects into downloadable CSV files

Resources

Stars

Watchers

Forks

Packages

No packages published