Definitely extremely unprofessional, in any class of service, but, better, I think, than calling passengers idiots. Hopefully, though, in this situation, the FAs vented their anger and then continued to provide service for the passengers without any resentment.