title: How to bind label for custom angularjs input?
body: <p>I want to know a simple way to bind label to custom angular input field.Current code doesn't work
  Code is here</p>
  
  <pre><code>&lt;div class="col-sm-3 padding-zero"&gt;
    &lt;label for="past" class="lbl"&gt;Have You Ever Had Past History:&lt;/label&gt;
  &lt;/div&gt;
  &lt;div class="col-sm-9 padding-zero" &gt;
    &lt;tags-input ng-model="past_history"  placeholder="Past History" id="past" &gt;
  &lt;auto-complete source="loadPast_history($query)" &gt;&lt;/auto-complete&gt;
  &lt;/tags-input&gt;
  &lt;input type="hidden" value="&lt;% past_history %&gt;" name="past_history" &gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>As I am not familiar with Angularjs,can anyone suggest a simple way to bind label for taginput field so that clicking on label focuses the taginput?</p>