title: How to import PapaParse with Browserify to inject into a controller?
body: <p>I'm trying to import PapaParse and use it inside a controller. This is what i tried so far:</p>
  
  <pre><code>import Papa from 'papaparse';
  //import 'papaparse'; (tried it like this also)
  
  angular.module('app').constant('Papa', window.Papa);
  </code></pre>
  
  <p>I think this is the right way to do it, but window.Papa is already undefined. What am i doing wrong? </p>