All Questions
1 question
1
vote
1
answer
1k
views
Clear static data on ngOnDestroy, after getting the data from service
I want to clear the data on ngOnDestroy. I am getting this static data from a service.
Current scenario is I am using the same component for add-edit and I just want to clear the temporary static data ...