1
0
mirror of https://github.com/moparisthebest/mail synced 2024-10-31 15:25:01 -04:00
mail/src/js/email/mailreader.js
2014-11-27 14:52:57 +01:00

9 lines
271 B
JavaScript

'use strict';
var mailreader = require('mailreader');
var ngModule = angular.module('woEmail');
ngModule.factory('mailreader', function(appConfig) {
mailreader.startWorker(appConfig.config.workerPath + '/mailreader-parser-worker.min.js');
return mailreader;
});