Navigate to Home Tab form other Tab and clear history


#1

I am using the Tabs template. I have a button in the about tab on clicking that button I want to go to the home tab and clear the history.

Here is the code for the button that does the navigation

  goingBack(){
     this.nav.goToRoot({});
    }

This works.
But when the home tab loads up the constructor execute again. Sort of like a reset which I do not want.

How do I navigate to a Tab and clear the history?