I am new with angularjs, I would try to get the name of the CSS class of dynamic way. Is there a way to pass such as a string returned from my database?
example:
<div ng-class = "app.name.lastname"> </ div>
And he get the result like this:
<div class = "lastname"> </ div>
Aucun commentaire:
Enregistrer un commentaire