I was developing a sample application to learn AngularJs.
There are three links that show up three different templates in the ng-view .
main.html has the three links.
$routeProvider.when('/add/:num',{
    templateUrl: 'addition.html',
    controller: 'addCtrl',
    requireLogin : true
    })
    .when('/multiply/:num/',{
    templateUrl: 'multiplication.html',
    controller: 'multiplyCtrl',
    requireLogin : true
    })
    .when('/filter',{
        templateUrl: 'filter.html',
        controller: 'filterCtrl',
        requireLogin : true
    })
    .when('/main',{
        templateUrl: 'main.html',
        requireLogin : false
    });
here is the anchor:
<a href="add/5">
It works fine. But when i try to open the link in a new Tab, it doesn't open.
I understand that the routing is done on the client side and the server is not aware of it.
Any suggestion will be helpful.
I couldn't find any relevant answer by searching online.
Thanks.
EDIT:: server side code.
in nginx:
 location / {
    root /home/myNgApp/;
    autoindex on;
    autoindex_exact_size off;
        try_files $uri $uri/ /main.html;
      }
 
    