Tab showing active after redirect within Controller


#1

Hi,
I’m new to Ionic so fully expect this to be an issue where I’m using the wrong approach or missing something basic.
I’ve got a tabbed app and set the default tab to ‘Terms’, a page where the user must click to accept the terms of the app before continuing. When the user accepts (submits the form) they’re redirected to a ‘User’ tab where they fill in their details.

When the app. is restarted, the ‘Terms’ controller checks to see if the user has previously accepted the terms and if so, automatically redirects to the user tab using $state.go. The redirect is working but both the ‘User’ and the ‘Terms’ tab icons are showing as active with this automatic redirect. What am I missing in the redirect / transition away from ‘Terms’ which is leaving the tab icon active?

Thanks