title: Ag-grid not working with angular and webpack
body: <p>I am trying to get ag-grid to work with webpack.
  I've done the standard thing by adding ag-grid through npm and added the reference to webpack.config by doing this:</p>
  
  <pre><code>resolve: {
      alias: {"ag-grid" : path.resolve(__dirname, "./node_modules/ag-grid/dist/ag-grid.js")
  }
  </code></pre>
  
  <p>The file gets resolved and loaded into the index file just fine. And I've done the following for angular.</p>
  
  <pre><code>angular.module("cs-app", [require("ag-grid").name]);
  </code></pre>
  
  <p>Webpack also resolves this file and gets included and loaded up but when I run the app I get the following error.</p>
  
  <pre><code>[$injector:modulerr] Failed to instantiate module angularGridGlobalFunction due to:
  [$injector:nomod] Module 'angularGridGlobalFunction' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.
  </code></pre>
  
  <p>I can't find the name angularGridGlobalFunction in ag-grid.js but when I comment out the reference to ag-grid then the app works just fine.</p>
  
  <p>So anyone suggestions?</p>