<commit_before>import angular from 'angular';
import FileSaver from 'file-saver';

class exportCtrl {

  constructor($filter, ajaxService) {
    'ngInject';

    this.$filter = $filter;
    this.ajaxService = ajaxService;

    this.exportDate = new Date();
    this.minDate = new Date(2016, 9, 1);
    this.maxDate = new Date();
    this.isProcessing = false;


    let csvExample = `
      The CSV file will include following columns:<commit_msg>set export min date<commit_after>import angular from 'angular';
import FileSaver from 'file-saver';

class exportCtrl {

  constructor($filter, ajaxService) {
    'ngInject';

    this.$filter = $filter;
    this.ajaxService = ajaxService;

    this.exportDate = new Date();
    this.minDate = new Date(2017, 1, 1);
    this.maxDate = new Date();
    this.isProcessing = false;


    let csvExample = `
      The CSV file will include following columns:
{'fraction_non_alphanumeric': 0.1111111111111111, 'fraction_numerical': 0.013333333333333334, 'mean_word_length': 3.3737864077669903, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5005206', 'n_tokens_mistral': 290, 'n_tokens_neox': 263, 'n_words': 80}