Hello i have an error to open modal in a provider.
i attempted to open a modal in my provider with the next code:
let mapaModal = this.modalCtrl.create(HomePage);
I already insert de Provider in app.module.ts, but when i run the application give mi this error:
if i remove this line of code the application works.