title: AngularJS ng-repeat creates input
body: <p>I'm wondering how can I use ng-repeat with <code>input</code> elements.
  I have a <code>select</code> which have some queries <code>option</code>, whenever I choose a query I would like to check if there is one or multiple parameters that is required to input. Some queries need to input two parameters, how can I search for the word parameter and create inputs depend on the result I found.</p>
  
  <p>This is my select:</p>
  
  <pre><code>&lt;select ng-model="querySelect" ng-options="item.query as item.queryName for item in queries"&gt;&lt;/select&gt;
  </code></pre>
  
  <p>and this is my input:</p>
  
  <pre><code>&lt;input type="text" ng-show="querySelect.match('parameter')" ng-model="queryParaInput"&gt;
  </code></pre>
  
  <p>My Array:</p>
  
  <pre><code>"queries":[
   {"queryName":"View all meals","query":"select * from meal"},
   {"queryName":"Meal price more than","query":"select * from meal where price &gt; parameter"},
   {"queryName":"Meal price between","query":"select * from meal where price  between parameter and parameter"}]
  </code></pre>
  
  <p>Thanks in advance.</p>