<table style="width:100%"><tbody> <tr ng-repeat="item in user | filter : tableSearch | limitTo : pageSize"> <td>{{item.id}}</td> <td>{{item.title}}</td> <td><input type="button" value="ViewDetails" ng-click="viewDetails(item.id)"/></td> <td><input type="button" value="DeleteRow" ng-click="deleteRow()"/></td> </tr> </tbody> </table> $scope.viewDetails=function(id) { // alert(id); //$location.url('http://www.google.com'); //$location.path('http://www.google.com'); $window.location.href = 'viewDetails.html'; // $state.go('/viewDetails', {id: id}); //$location.path("viewDetails"+id); };
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)