vendredi 29 mai 2015

How to add attribute and remove from an element in Angular JS

<input name="name" type="text" ng-model="numbers" mandatory>

How to remove and add class of mandatory dinamically in Angular JS?

Note : "mandatory" is custom class which is implemented by me.

Thanks.

Aucun commentaire:

Enregistrer un commentaire