In Ionic 4 I have a service that downloads data from rest api and wanted to integrate with Ionic loading, in order to provide a loading indicator while the content is being loaded.
How can I listen to ionLoading* events, e.g.: ionLoadingDidLoad in the service?