Excitation Direction Effect on Polarization Property of Er$^{3+}$ Electronic Transition in LiNbO$_{3}$ Waveguide and Bulk Material