How to validate if there is at least one checkbox selected out of 3 checkboxes in angularjs
<p>Ok so this is the code:</p>

<pre><code>&lt;input name="chkbx1" type="checkbox"
    ng-model="LoanReferData.Prop1"
    ng-class="Submitted?'ng-dirty':''" required&gt;Prop 1&lt;/input&gt;

&lt;input name="chkbx2" type="checkbox"
    ng-model="LoanReferData.Prop2" ng-class="Submitted?'ng-dirty':''"
    required&gt;Prop 2&lt;/input&gt;

&lt;input name="chkbx3" type="checkbox" ng-model="LoanReferData.Prop3"
    ng-class="Submitted?'ng-dirty':''" required&gt;Other&lt;/input&gt;


&lt;span class="error" ng-show="((frmLoanRefer.chkbx1.$dirty || Submitted) &amp;&amp; frmLoanRefer.chkbx1.$error.required) || 
                                                            ((frmLoanRefer.chkbx2.$dirty || Submitted) &amp;&amp; frmLoanRefer.chkbx2.$error.required) || 
                                                            ((frmLoanRefer.chkbx3.$dirty || Submitted) &amp;&amp; frmLoanRefer.chkbx3.$error.required)  "&gt;
                            * please select atleast 1 property is required.&lt;/span&gt;
</code></pre>