I am working on Angular 7 Application and , I am facing problem on stopping a function to call again ,where function exist in in constructor , which I stop calling again on navigating back to the same component
eg ->
- We are in component A
- we navigate and go to component B
- when we again go to component A , function in constructor should not load
I tried with many ways using Angular rout , but it is not working for me