title: Angular JS textarea validation
body: <p>I have this AngularJS code trying to show two stars next to label when there is no text in the textarea. Same code works for input tags, but not with textarea.</p>
  
  <pre><code>&lt;div class="input-left"&gt;
      &lt;label for="email"&gt;
          &lt;span ng-show="contactform.email.$error.required" class="required"&gt;*&lt;/span&gt;Email:
      &lt;/label&gt;
      &lt;input ng-model="email" type="text" name="email" id="email" required&gt;&lt;/br&gt;&lt;/br&gt;
      &lt;label for="budget"&gt;Budzet:&lt;/label&gt;
      &lt;input ng-model="budget" type="text" name="budget" id="budget"&gt;
  &lt;/div&gt;
  &lt;div class="clearboth"&gt;
      &lt;label for="msg" class="left" &gt;
          &lt;span ng-show="contactform.msg.$error.required" class="required"&gt;**&lt;/span&gt;Pitanja ili Komentari?
      &lt;/label&gt;
      &lt;textarea ng-model="msg" rows="8" cols="50" class="input-no-width rounded shaded left clearboth" id="msg" required&gt;&lt;/textarea&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>According to <a href="http://docs.angularjs.org/api/ng.directive%3atextarea">AngularJS documentation</a> - textarea should behave same as input.</p>