Destroy Ionic tab content when switched to another tab

@ionicframeworks @mhartington @Justinwillis96
Is there a way to destroy the tab page related DOM when we switch between tabs. In Ionic, generally we destroy the page when we move to other. How can we achieve the same here also (In real, tab DOM is getting appended when switched).