Tab and routing

I have following tab configuration.
.state(‘tab.user’, {
url: ‘/user’,
abstract: true,
})

.state(‘tab.user.index’, {
url: ‘/’,
views: {
‘tab-user’: {
templateUrl: ‘templates/tab-user-index.html’,
controller: ‘DashCtrl’
}
}
})

.state(‘tab.user.profile’, {
url: ‘/:userId’,
views: {
‘tab-user’: {
templateUrl: ‘templates/tab-user-profile.html’,
controller: ‘userProfileCtrl’
}
}
})

state(‘tab.events’, {
url: “/events”,
abstract:true
})

.state(‘tab.events.index’, {
url: “/”,
views: {
‘tab-events’: {
templateUrl: ‘templates/tab-events.html’,
controller: ‘eventsCtrl’
}
}
})

tab.user.index is the profile of logged in user and tab.user.profile is to view someone else peofile. I have links from tab.events.index to view profile of other users. The ionic user tab(tabs displaying at bottom) is configured to show tab.user.index. However if i go to someoelse profile first from tab.events page. When i click on ionic bottom tab of user, it shows the previously clicked user profile(tab.uer.profile) and never go to logged in user profile(tab,user.index). I tried different ways to set default tab but not working. I am beginner of ionic framework. Please help, may be i am doing somthing wrong…

Can you paste your html or template code for your Tabs?

Following is the part of my tab template

<ion-tabs class="tabs-icon-top tabs-color-active-positive">

  <ion-tab title="Events" icon-off="eventIcon" icon-on="eventIconActive" href="#/tab/events">
    <ion-nav-view name="tab-events"></ion-nav-view>
  </ion-tab>

  <ion-tab title="Profile" icon-off="profile" icon-on="profileActive" href="#/tab/user">
    <ion-nav-view name="tab-user"></ion-nav-view>
  </ion-tab>
</ion-tabs>