I am using Angularjs. I want to navigate to other controller (detailscontroller) and the detail.html page by clicking the link from (Homecontroller). But while navigate to the detailscontroller i should pass the parameter value from Homecontroller. Below is my screenshot

By clicking delete it should navigate to the detailscontroller controller and trigger the below function
detailsController
myApp.controller("detailsController", function ($scope, $http,GENERAL_CONFIG,$filter) {
$scope.getdetailsbyspider = function(spider){
console.log(spider)
}
});
Where as the spider should be from the Homecontroller ( the click value)
How can i do this ? Can anyone help me ?
UPDATE: My router
.when("/details", { templateUrl: 'Details.html', controller: 'detailsController' })
Home.html
<tbody>
<tr ng-repeat="row in finished">
<td> {{row.project}} </td>
<td> <a href="#details" ng-click="getdetailsbyspider(row)"> {{row.spider}}</a></td>
to get the above table
Update When i click the Spider name page should be navigate to the details.html with the spider name clicked.
In this example when i click on the delete it should navigate to the details.html and execute the getdetailsbyspider function in the detailscontroller with the spider name as delete
Thanks,
console.logwith$location.path(/YourControllerPath)