I have gone through all the available solutions to avoid $on getting triggered multiple time but nothing works for me. I want to understand where I am going wrong. I have tw