title: How to use javascript libraries in Angular 2 Project
body: <p>I have a library which has a function structure like this..</p>
  
  <pre><code>$.fn.et_menu = function ( options ) {
  var settings = $.extend({
  type: "default", // can be columns, default, mega, combined
  animTime: 250,
  openByClick: true,
  delayTime: 0
  }, options );
  </code></pre>
  
  <p>which should be called like </p>
  
  <pre><code>$('.menu.side-menu').et_menu({
  type: "default",
  delayTime: 0
  });
  </code></pre>
  
  <p>Any help.. how to integrate this in Angular..</p>
  
  <p>Ive included the library in my index.html file and 
  did </p>
  
  <pre><code>declare var et_menu: any;
  </code></pre>
  
  <p>in my component.ts file..</p>
  
  <p>Any help would be rally greatful.</p>