<a ui-sref="app.reports.equipmentarg({factoryId: fid})" target="_blank">Click Me</a>
it works fine and the parameter passed if I remove the target attribute but then it opens in the current tab which is not required. I want to open my page in a new tab with parameters successfully passing using the same approach
state('app.reports.shiftarg', {url: '/shift',
templateUrl: 'assets/app/modules/report/views/view/app.shift.report.html',
controller: 'ShiftReportCtrl',
params: { factoryId: null}
As long as you used the
urlproperty, so you don't need theparamspropertyso you have to add all the needed
paramsto theurlthen in the
html, you can useui-sref