I have a provider which uses another provider, and I am getting this error when viewing the app through ionic serve:
Encountered undefined provider! Usually this means you have a circular dependencies (might be caused by using ‘barrel’ index.ts files
I have read that it can be fixed using forwardref, but the examples seem very different to what I am trying to do.
Does forwardref need to go in app.module.ts somewhere?