Scenario :
I am using angular material tabs, each different tabs have their respective dynamic component.
So when I am switching the tabs, it removes the content from DOM. And when I come back again to that tab, it loads content again.
Problem :
Instead of default behaviour, I just want the content to change to display:none;
instead of removing it from DOM.