Feeling dumb for getting stumped on this one.
Have a routeProvider:
$routeProvider
.when('/', {
templateUrl: 'views/home.html',
controller: 'HomeCtrl'
})
.when('/detail/:id', {
templateUrl: 'views/detail.html',
controller: 'DetailCtrl'
})
index page has an
ng-view and in
home.html I have a link in the form
<a href="/#/detail/{{item.id}}"> which works great when clicking on it.
Issue I'm having is when command clicking the link to open it in a new window it just opens it in the same window. I'm fully aware that doing so would cause the entire "app" to reinstate itself. Dug into documentation and code, but I'm stumped. Feeling really dumb on this one. Right clicking and explicitly saying to open in a new window/tab works fine. How do I get command click working?