I have glyphicon-eye for all fields in the form. If user click on glyphicon-eye-open then it will change to glyphicon-eye-close and I push that specific field name into an array
Some times the ! doesnot works inside ng-clss. You please replace that by