title: AngularJS $http post brokes the URL
body: <p>When I post the data in AngularJS via $http service, the form data is appended before my actual URL. As a result whether my post is successfull or not, I am redirected to my default route page.</p>
  
  <p>Normally my URL format is like following,</p>
  
  <pre><code>http://localhost:4695/#/system/home/dashboard
  </code></pre>
  
  <p>When I post the form, it becomes like,</p>
  
  <p><code>http://localhost:4695/?companyFullName=&amp;name=&amp;position=#/system/home/dashboard</code></p>
  
  <p>This is how I post my form.</p>
  
  <pre><code>$http.post('http://localhost:2795/api/company', data, { headers: { 'Content-Type': 'application/json; charset=utf-8' } });
  </code></pre>