If you want to add some css or change css on a button click in angularjs,you need to use angular directive mg-class for this. It is very simple you just need to bind a variable into the directive ...
I needed to send mails via my NodeJS server, but creating static mails for each required case was not the optimal solution. Being a Frontend developer, I really liked the concept of AngularJS ...