My code :
<label ng-class="[getClasscolor(0)]"><input class="opened" ng-checked="getStatut(data.statut_cas_id_statut1, 0)" ng-model="data.statut_cas_id_statut1" value="0" type="checkbox"> Open </label>
I would check this checkbox by default and call the function getStatut by default. How can I do that ? I'm starting with angularjs
Aucun commentaire:
Enregistrer un commentaire