Commit 3fe93122 authored by đinh thị đầm's avatar đinh thị đầm

commit init

parent 6c6c507b
...@@ -40,7 +40,7 @@ angular.module("myApp",[]).controller("tintucController", function($scope, $http ...@@ -40,7 +40,7 @@ angular.module("myApp",[]).controller("tintucController", function($scope, $http
$scope.deleteEmployee = function (employee) { $scope.deleteEmployee = function (employee) {
$http({ $http({
method : 'DELETE', method : 'DELETE',
url : '/deleteEmployee/' + customer.id url : 'http://localhost:8081/deleteEmployee/' + employee.id
}).then(_success, _error); }).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