Two students were shot and injured in a classroom at a Los Angele middle school on Thursday morning, and the suspected shooter is in custody, authorities said.