title: Why ng-class is not getting applied to input tag?
body: <p>Here is my HTML input tag on which I have created conditional ng-class</p>
  
  <pre><code>&lt;input type="text" class="form-control" placeholder="label" name="label"
       ng-required="true"  ng-class="{ missing: $ctrl.flag=='true'}"
       ng-model="$ctrl.DataToSend.label[$ctrl.language]" /&gt;
  </code></pre>
  
  <p>And here is my CSS</p>
  
  <pre><code>.missing {border: solid 1px red;}
  </code></pre>
  
  <p>When my $ctrl.flag is true ng-class should get applied but it's not happening. Why?</p>