title: $http get request with form
body: <p>I simply can't find a suitable answer to my problem. I am rather new to Angular and have a simple problem with a $http request. I have a form set up where a user can type in a place and a time and for example a number of people.</p>
  
  <p>Now I want to get data from my server using these three user inputs to provide a answer to the user request.</p>
  
  <pre><code>&lt;input type="text" placeholder="bla1" class="form-control" ng-model="formData.input1"&gt;
  &lt;input type="text" placeholder="bla2" class="form-control" ng-model="formData.input2"&gt;
  &lt;input type="text" placeholder="bla3" class="form-control" ng-model="formData.input3"&gt;
  </code></pre>
  
  <p>Obviously, I can now POST them all to formatData on ng-submit. But I want to use this information to retrieve data and to make a <code>get $http</code> request.</p>
  
  <p>I believe the  <code>params</code> and <code>data</code> attribute are the ones to change and to exploit. </p>
  
  <p>Can someone explain to me how that would work or how in general a form's input can be used to specify $http requests?</p>
  
  <p>Thanks a lot to all of you!</p>