I am using ui-router for state navigation in angular application and in one of the scenario I have to navigate to a new state in an different tab.
I have the following state
.state("code",
{
url: "/code",
params: { offer : null },
templateUrl: "app/components/coupons/views/code.html"
})
offer in param is an object. When navigating to this state in the same browser it works fine. But when navigating to this state in a different browser offer comes as null.
The same question was posted by another user here http://stackoverflow.hex1.ru/questions/33232761/ui-router-open-state-in-new-tab-with-target-blank-params-are-lost but here the param is a property and not an object. So, it could be added to url.
Thanks, Sam