Is there any way to disable template cache in Angular 2 ?
I'm creating one single page application in Angular2.My App have three page. So i use Route to switch from one page to another.In one of my page i have a submit button.I need to disable it based on values selected by user. My issue is that Once i make it disabled it will remain disabled until i refresh the page.It will not enable when i go back to come to same page. This is because of Template caching . Html page is not reloading once it loaded.
Is there any way to disable cache or reload template ?
Thanks