title: How to import chance from chancejs in angular?
body: <p>I have installed chancejs using the command below:</p>
  <pre><code>npm install chance
  </code></pre>
  <p>I have created an angular 10 project and cannot find any chance.js library added. When I try to use the chance methods such as chance.string() in the file employee.component.spec.ts, it says chance does not exist.</p>
  <pre><code>  var randomName = **chance**.string();
  </code></pre>
  <p>I have checked other tutorials where they are importing the script directly into the html component. But is there another way to import it as a Module in typescript?</p>