title: How to import and use particles.js in an Angular/Angular2/Angular4 app
body: <p>I have an Angular app that I want to use particles.js in however I have no clue how to add it and get it working.</p>
  
  <p>I've added it to the .angular-cli.json</p>
  
  <pre><code>  "scripts": [
      "../node_modules/particles.js/particles.js"
    ],
  </code></pre>
  
  <p>And I've imported it into my component</p>
  
  <pre><code>import * as  particlesJS from 'particles.js';
  </code></pre>
  
  <p>And attempted to initialize it using </p>
  
  <pre><code>  particlesJS.load('particles-js', 'assets/particles.json', function() {
      console.log('callback - particles.js config loaded');
    });
  </code></pre>
  
  <p>Has anyone got this working?</p>