Temperature and angular dependences of upper critical fields for the layer structure superconductor 2H-NbSe2