Commit 325eb2b8 authored by đinh thị đầm's avatar đinh thị đầm

commit new

parent ff3371fc
...@@ -40,7 +40,7 @@ angular.module("myApp").controller("employeeController", function($scope, $http, ...@@ -40,7 +40,7 @@ angular.module("myApp").controller("employeeController", function($scope, $http,
$scope.emp = emp; $scope.emp = emp;
$http({ $http({
method : 'PUT', method : 'PUT',
url : "/employee/" +emp.id, url : "/employee/" + emp.id,
data: $scope.emp data: $scope.emp
}).then(function successCallback(response) { }).then(function successCallback(response) {
console.log(response); console.log(response);
......
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