title: Angular client side validation special case
body: <pre><code>&lt;input id="declarationAcknowledgement" name="declarationAcknowledgement" ng-false-value="false" ng-model="formData.declarationAcknowledgement" ng-true-value="true" type="checkbox" /&gt;
  
  &lt;label data-localize="I Agree" for="declarationAcknowledgement" &gt;I Agree&lt;/label&gt;
  
  &lt;div class="pw-form-inline-error" data-localize="Accept to proceed" ng-show="(peopleworksForm.declarationAcknowledgement.$dirty || peopleworksForm.submited)  &amp;&amp; formData.declarationAcknowledgement != 'true'"&gt;Accept to proceed&lt;/div&gt;
  </code></pre>
  
  <p>this is my view side inside my controller I set  "Form.submited = true"</p>
  
  <p>what I want is if the user check the check box if value is not equals to 'true' set the form.$valid false from view side not in controller how can I do this. Can any one help me?</p>