Angular directive to create a button and download data as CSV cross browser.