I want to do the following, but in a new tab or new window:
$state.go('studentsReport', { type: $scope.report.type, // string selectedStudents: $scope.selectedStudents // array of strings });
If I did:
var link = $state.href('studentsReport', { type: $scope.report.type, selectedStudents: $scope.selectedStudents }); window.open(link, '_blank');`
I would lose the options.
Regards, Marcel
source share