title: npm link is not working with angular-cli created projects
body: <p>I have created a project using <code>angular-cli</code>. There is one <code>AppModule</code> and <code>AppComponent</code> I want to use this <code>AppModule</code> and its components (<code>AppComponent</code>) in other angular apps. So I have created <code>index.ts</code> file and exported the <code>AppModule</code> and <code>AppComponent</code> </p>
  
  <pre><code>export {AppModule} from './src/app/app.module';
  export {AppComponent} from './src/app/app.component';
  </code></pre>
  
  <p>Then created local linking using <code>npm link</code> and a link is created with the name defined in package.json.</p>
  
  <p>Now In other project where I want to use this exported module run the </p>
  
  <pre><code>npm link project-name
  </code></pre>
  
  <p>Linking has been done successfully. 
  I tried </p>
  
  <pre><code>import { AppModule as AModule} from 'my-components';
  </code></pre>
  
  <p>But this is not working as webpack gets failed to compiles AppModule file as the reference is not getting resolved. In SystemJs We defined the mapping of this in systemjs.config.js file but there is no config file. </p>
  
  <p>How can I solve this?</p>
  
  <p>Is there any other method to reuse local modules?</p>