What your friends think doesn't even matter. If you think your teacher is a good, responsible, helpful, meaningful human being then that should stand for something. Just because your friends don't like your teacher that you have to not like him/her too.
You have your own mind and choice, decide that for yourself. and not everyone deserves respect.