<table class="table table-striped"> <thead> <tr> <th>Employee ID</th> <th>Name</th> <th>Designation</th> <th>Mobile No</th> </tr> </thead> <tbody> <tr data-ng-repeat="item in emp"> <td>{{item.id}}</td> <td>{{item.name}}</td> <td>{{item.designation}}</td> <td>{{item.mobile}}</td> <td><input type="button" data-ng-click="delete(item)" value="Delete" /></td> </tr> </tbody> </table> <script> <pre lang="php">$scope.load = function () { $http.get('../Home/getList').success(function (emp) { alert(response); }).error(function (response) { alert('end'); });} $scope.load(); </script>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)