I need to open a new window when clicking on a button ,i used this way
$scope.openInNewWindow = function () {
$window.open('/newwindow.html', '_blank');
}
but it always opens a new tab, but i need a new browser instance
I need to open a new window when clicking on a button ,i used this way
$scope.openInNewWindow = function () {
$window.open('/newwindow.html', '_blank');
}
but it always opens a new tab, but i need a new browser instance
Try this http://plnkr.co/edit/f50fWHnLBC3Y43mx6iuO?p=preview
$window.open('/newwindow.html',"_blank", "toolbar=yes,scrollbars=yes, resizable=yes, top=500, left=500, width=400, height=400");