title: How to proxy angularjs app to xampp
body: <p>First of all, sorry if my title is not very precise and descriptive. I will try to explain my problem as best as I can. </p>
  
  <p>I used <a href="https://github.com/yeoman/generator-angular#readme" rel="nofollow noreferrer">this yeoman generator</a> to scaffold my angularjs app, I installed <code>XAMPP</code> for <code>Apache</code> and <code>MySql</code>. When I run <code>grunt serve</code> my app starts on localhost port 9000 and my PHP files are located in XAMPP htdocs folder. </p>
  
  <p>In my angular service i have basic get function     </p>
  
  <pre><code>function getAllPersons() {
          return $http.get('api/persons/getAllPersons.php')
              .then(function(response) {
                  return response.data;
          });
  }
  </code></pre>
  
  <p>My question here is, how I can make my local environment to actually "see" and have access to api XAMPP folder. If I understand my issue correctly I must create a proxy that will allow my UI access to the apache server.</p>
  
  <p>I hope that you understand my issue from this explanation, if you guys need any more details I will provide it.</p>