I have some third party JS scripts in angular app which has $(document).ready functions, At start everything works fine but when I change the routes via routerLink then some functionality does not work but when page is reloaded then it works.
I have tried importing JS files in angular.json and index.html.
Please help if you have any solution for this problem.
Thanks.
$(document).readyinto someangular life-cycle.