I have this simple javascript file 'my.js' inside src folder of my Angular app
slideDown(id) {
$('#' + id).slideToggle();
}
I want to call this function like this
<div class="view-details" (click)="slideDown('theID')">
I have looked everywhere and i cannot figure it out how to include my.js to the components
Any hint will do
PS: New to Angular