Let's say I had some JS code that looks something like the following: blah.js:
   $(document).ready(function() {
      $("#navigation".click())
      {
         $("#navigation").animate('blah');
      }
   });
What would be the best way to include this JS in an Angular app? Do I just include require the script in a component file?
import { Component } from '@angular/core';
require ('blah.js');
@Component
({
   selector: 'home',
   template: ...,
   styles: ...
})
export class HomeComponent
{
} 
Apologies if the question is unclear, I am quite new to Angular 2.
 
     
    