I am using a jQuery plugin with Angular project but with the jQuery way like
$(document).ready(function(){
//calling plugin here
});
This is working fine. I know this is not the right way to do it and it's not highly recommended, but I have already searched a couple of blogs and websites on this topic. They said that we can create directive for this but I am not able to understand how I can create any directive for a jQuery plugin and how it will work? Is it possible to create an Angular directive for each jQuery plugin?