I need to make a POST from Angular to a URL ./makeFile.php which will create a file with contents from a database query based on the information pr
I had similar issue, and I couldn't do with with $http. So I programatically created html form with method="post" and target="_blank". And I placed hidden elements with data I needed to send. After I submitted that form I removed it from dom.
Let me know if you find another solution, using $http.