title: Angular 1.5 and ES6 - importing module
body: <p>I'm trying to get my head around using the new capabilities in Angular 1.5 and also using Webpack and ES6 via Babel.</p>
  
  <p>In one case, I want to bring in a module (ngStorage), but ngStorage is written in classic 1.x style. So this file:</p>
  
  <pre><code>import angular from 'angular';
  import ngStorage from 'ngstorage';
  import UserSettings from './user-settings';
  import UserFactory from './user.factory';
  
  let userModule = angular.module('user', [ngStorage])
  
      .service('UserSettings', UserSettings)
      .factory('User', UserFactory);
  
  export default userModule;
  </code></pre>
  
  <p>results in this error at runtime:</p>
  
  <pre><code>Error: [$injector:modulerr] Failed to instantiate module user due to:
  Error: [$injector:modulerr] Failed to instantiate module {"_invokeQueue":[["$provide","provider",{"0":"$localStorage"}],["$provide","provider",{"0":"$sessionStorage"}]],"_configBlocks":[],"_runBlocks":[],"requires":[],"name":"ngStorage"} due to:
  Error: [ng:areq] Argument 'module' is not a function, got Object
  </code></pre>
  
  <p>I'm guessing that I just can't import from ngstorage - it doesn't export anything. Is there a way I can shim 1.x dependencies in order to import them?</p>