Commit 6c6c507b authored by đinh thị đầm's avatar đinh thị đầm

commit

parent 34e96158
...@@ -38,7 +38,10 @@ angular.module("myApp",[]).controller("tintucController", function($scope, $http ...@@ -38,7 +38,10 @@ angular.module("myApp",[]).controller("tintucController", function($scope, $http
list_employee(); list_employee();
} }
$scope.deleteEmployee = function (employee) { $scope.deleteEmployee = function (employee) {
$http({
method : 'DELETE',
url : '/deleteEmployee/' + customer.id
}).then(_success, _error);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment