A California teacher whose anti-military rant in a classroom was caught on video has been fired, according to the school board.