i am new to angular 4. i am calling a jquery function with html tag from a method. And that jquery method is defined in another file. so how to write those in angular? this is the example
sample() {
$.("represent-visualization").Sample();
}
And the function Sample is defined in a jquery file
(function( $ ){
$.fn.sample()
{
}
})(jquery);