I have to open the new tab using state.go with parameter,
State config:
.state("view", {
url: "/view",
templateUrl: 'app/components/view/view.html',
controller: 'viewController',
params: {
data: ''
}
})
In the some controller:
var url = $state.href('view', {data: JSON.stringify($scope.data)});
window.open(url,'_blank');
When i tried above code its redirecting to new tab but i can't able to get the passed params values in the viewcontroller.