I have been attempting to achieve something similar to the following:
template: "<div ng-if=\"successData\" ng-class=\"{ 'bounceInDown': successData == true,bounceInDown: successData == false}\" style=\"border-radius: 2px;padding: 7px;margin-right: 10px;\" class=\"pull-right alert-success\">test</div>"
However, the ng-class
directive does not seem to be functioning correctly.
Does anyone know what might be causing this issue? Thank you.