{"action":"closed","issue":{"url":"https://api.github.com/repos/mwilliamson/mammoth.js/issues/95","repository_url":"https://api.github.com/repos/mwilliamson/mammoth.js","labels_url":"https://api.github.com/repos/mwilliamson/mammoth.js/issues/95/labels{/name}","comments_url":"https://api.github.com/repos/mwilliamson/mammoth.js/issues/95/comments","events_url":"https://api.github.com/repos/mwilliamson/mammoth.js/issues/95/events","html_url":"https://github.com/mwilliamson/mammoth.js/issues/95","id":177802094,"number":95,"title":"try to use mammoth.js in angularjs","user":{"login":"pierpy","id":7381399,"avatar_url":"https://avatars.githubusercontent.com/u/7381399?v=3","gravatar_id":"","url":"https://api.github.com/users/pierpy","html_url":"https://github.com/pierpy","followers_url":"https://api.github.com/users/pierpy/followers","following_url":"https://api.github.com/users/pierpy/following{/other_user}","gists_url":"https://api.github.com/users/pierpy/gists{/gist_id}","starred_url":"https://api.github.com/users/pierpy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pierpy/subscriptions","organizations_url":"https://api.github.com/users/pierpy/orgs","repos_url":"https://api.github.com/users/pierpy/repos","events_url":"https://api.github.com/users/pierpy/events{/privacy}","received_events_url":"https://api.github.com/users/pierpy/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-09-19T14:35:41Z","updated_at":"2016-09-19T17:58:07Z","closed_at":"2016-09-19T17:58:06Z","body":"I'm trying to use mammoth.js in a AngulaJS project. I added the standalone file mammoth.browser.min.js to my index.html file. Then i tryied to us eit in the controller as following:\r\n\r\n`vm.convertHtml = function() {\r\n \r\n     $window.mammoth.convertToHtml({path: \"referto.docx\"})\r\n    .then(function(result){\r\n        var html = result.value; // The generated HTML\r\n        var messages = result.messages; // Any messages, such as warnings during conversion\r\n    })\r\n    .done();\r\n  }`\r\n\r\nbut I get always the error : Could not find file in options\r\n\r\nalso changing the path. Can someone help me?"}}
{"actor":{"display_login":"mwilliamson"}}