title: AngularJS $http POST with port number
body: <p>Is it possible to do an HTTP post request using port number in the url?</p>
  
  <p>This is fine</p>
  
  <pre><code>$http.post('http://localhost/httpPost.json', data);
  </code></pre>
  
  <p>But this is not working</p>
  
  <pre><code> $http.post('http://localhost:8081/httpPost.json', data);
  </code></pre>