add transition out
refactor: use ng-class for font awesome icon