fixed $http with $http.post