title: How to import forked library to Angular2
body: <p>I've looked so far to find the answer, but found nothing, so exuse me, if my querstion is frequently asked, but I'm too stupid to google it correctly.</p>
  <p>I've tried to use JS drag'n'drop library <a href="https://github.com/Shopify/draggable" rel="nofollow noreferrer">Draggable</a>, but I need to change some things to use it properly.</p>
  <p>So I've forked and downloaded it, but now I have troubles with import it.</p>
  <ul>
  <li>I've tried to import it like module, but it is .js extension of file
  with all imports and exports in it (I tried to change it to .ts, but
  it doesn't help);</li>
  <li>I've tried to import it in index.html in , but it alerts what that file is text/html type so it can't be imported;</li>
  <li>I've tried to interact with npm to create my own package from forked library or something like that, but I'm so lame in npm, so it was no chances.</li>
  </ul>
  <p>So I look the way to import this local library so it will be work as imported via npm, but will can do some changes in it.</p>
  <p>I'm using Ubuntu Mate 16.04, my Angular2 project app folder looks like that:
  app
  |
  --draggable (folder with library I want to use)
  |
  other components and standart files</p>
  <p><strong>EDIT:</strong> I've installed library via npm, using path/to/folder (<code>npm install ./src/app/draggable --save</code> inside my Angular2 app), so in package.json it is row with name of package and : <code>&quot;file:src/app/draggable&quot;</code> after that.</p>
  <p>But when I try to use this like <code>import { Droppable } from '{myName}'</code>, it is compiling error: <code>Module not found: Error: Can't resolve '{myName}' in '/{pathToProject}/src/app'</code></p>
  <p>How can I fix this and use the local library?</p>