title: $.fn.modal is not defined; for bootbox
body: <p>I have included bootbox with "npm install bootbox --save", also included in angular.json  </p>
  
  <pre><code>"scripts": [
                "./node_modules/jquery/dist/jquery.min.js",
                "./node_modules/bootstrap/dist/js/bootstrap.min.js",
                "./node_modules/bootbox/bootbox.js"
              ]
  </code></pre>
  
  <p>I have tried to use it in a component</p>
  
  <pre><code>bootbox.confirm("This is the default confirm!", function (result) {
              if (result) {
                  this.router.navigateByUrl('login');
              } 
          });  
  </code></pre>
  
  <p>It gives error $.fn.modal is not defined; please double check you have included the Bootstrap JavaScript library. See <a href="http://getbootstrap.com/javascript/" rel="nofollow noreferrer">http://getbootstrap.com/javascript/</a> for more details.</p>
  
  <p>But it works fine when checked with console apart from UI is not good..</p>
  
  <p>Kindly help</p>