My code looks something like this and there is data-ng-click for anchor tag.
$state.go('routeHere', {parameter : "parameter"} });
I have tried
var url = $state.go('myroute', {parameter: "parameter"});
window.open(url,'_blank');
target="_blank"
But those are not working.
Is there any other way to do that using AngularJS?