Evolution will soon be a mandatory part of the middle-school science curriculum, after years of being an optional subject that most students were never taught.