AngularJS Sends OPTIONS request instead of POST
问题 I'm trying to upload a picture to my S3 bucket. I'm using AngularJS v1.2.13. When I use the simple case as displayed in their docs (submit form with action tag) everything works fine. However, if I want to do it the Angular way with ng-click Angular sends an OPTIONS request instead of a POST request. The following is the Service code, it first goes to the server to get a signature (I know that part is fine) then tries to POST with everything. myServices.factory('s3', function($http) { var