Unable to use "ionic-img-viewer" in ionic4

I am using “ionic-img-viewer” in my ionic application and I am unable to use it in ionic4. It is showing the following error in console:

StaticInjectorError(AppModule)[ImageViewerController -> App]:
StaticInjectorError(Platform: core)[ImageViewerController -> App]:
NullInjectorError: No provider for App!

Please refer link (https://www.npmjs.com/package/ionic-img-viewer) for ionic-img-viewer documentation.

Can any body help me plz to resolve this error. Please note that I am unable to use it in ionic4 only. It is working properly in ionic3.