Use $scope.employeeList variable to post data beacuse Emp variable is not exist in scope. Remove Emp parameter on Save button click method.
<input type="submit" value="Save" ng-click="Save()" />
<script type="text/javascript">
var Employee = angular.module("Employee", []);
Employee.controller("Attendance", function ($scope, $http) {
$scope.employeeList = [];
$http({
method: "GET",
url: "/Attendance/Details",
}).success(function (data) {
$scope.employeeList = data.a;
$scope.dropDownList = data.b;
}).error(function (error) {
$scope.Message = error.Message;
})
$scope.Save = function () {
alert(JSON.stringify($scope.employeeList));
$http({
method: "Post",
url: "/Attendance/SaveAttendance1",
data: $scope.employeeList,
}).success(function (data) {
alert(data);
}).error(function (err) {
$scope.Message = err.Message;
})
};
});
</script>
Hopefully it will work ...!