Clean up error and success messages, using ng-if instead of ng-show/ng-hide.