Reputation: 797
I have a problem!
I have 2 tabs with user's info and in the header-bar 1 switch to change the user. I use this:
$state.transitionTo($state.current, $stateParams, {
reload: true,
inherit: false,
notify: true
});
With this i change the user in the title but the tabs don't show this change, I need refresh de app with f5.
Any help?
Upvotes: 0
Views: 1036
Reputation: 8971
You can use location to reload your app like this:
$location.path('/url')
Upvotes: 1