I am trying to perform test using apiary api as the following:
 $scope.createAsset = function () {
 $http({
    method: 'POST',
    url: 'http://polls.apiblueprint.org/createStory',
    headers: {'Access-Control-Allow-Origin': '*'}
});
}
Apiary:
FORMAT: 1A
HOST: http://polls.apiblueprint.org/
# BulBulTest
BulBulTest is a simple API for testing.
## Create story [/createStory]
### Create story [POST]
+ Response 200 (application/json)       
{
    "Status": "Story created sucessfully",
    "published_at": "2015-08-05T08:40:51.620Z",
    "publisher": "Johm Smith"
}
and I get error even after setting the allow-origin. 
 
     
    