I need to apply jquery
plugin to radio buttons in Angular2
using Typescript
.
If I assign in ngAfterViewChecked
, it is called many times and the control is refreshed multiple times.
What is the alternate solution for calling the javascript method after DOM is ready?