Angular momentum effects in the compound-statistical model for nuclear reactions