How to change modal animation to fade in and out

Is there any way i could change my default modal animation from slide in to fade in and slide out to fade out.

Tried even replacing the slide word with fade word in the below code and added to app module, but didnt work out. Somebody help me out

modalEnter: 'modal-slide-in',
      modalLeave: 'modal-slide-out',