Tabs with a consistent contactId



I’m trying to create an ionic app with tabs that use a consistent contact id.

For example, from the main view, I have links to contact 1 and contact 2. These will open up a view with tabs for both home and menu specific to that user.

Following is a plunker to show the issue with my current implementation:

When I click the first contact, the home and menu tabs are correct.
When I go back to main and then click the second contact, the home tab is correct, but the menu tab is for the first user selected.

Shouldn’t the $stateParams.contactId be used to set the $scope.contactId?
The controller only runs the first time through which is likely the source of my problem, but how to correct?