That's a very dangerous form of hypocrisy, VVV. If you agree that this public school teacher had the right to indoctrinate other people's kids about Islam one way here, you hardly have the standing to object when another teacher chooses to indoctrinate your kids about Islam or any other non-academic agenda in a way that is not compatible with your beliefs.
Whether you realize it or not, you are shortsightedly sacrificing protections for Christians & Jews here by saying it's OK for these teachers to do this ever at all.
Here's a revolutionary idea: let public school teachers inculcate their own kids with their values & stick to teaching other people's kids academics.