title: How to give pdf.js worker in Angular CLI application
body: <p>I used pdf.js directly in angular app for some pdf purposes. It works fine.</p>
  
  <p>I imported the pdfjs from the pdfjs-dist and my package.json includes pdfjs-dist.</p>
  
  <p>My pdf is working fine, but in the console, I get the below error.</p>
  
  <pre><code>pdf.js:9067 GET http://localhost:4300/main.bundle.worker.js 404 (Not Found)
  
  pdf.js:351 Warning: Setting up fake worker.
  </code></pre>
  
  <p>How to set up the worker properly in angular CLI application?</p>