IonicPageModule seems to require individual pageModule definition. Can I write a wrapping, higher order decorator to eliminate duplicate code in the individual pageModule? If so, any body have any pointers? I have this need mostly due to some dependency on TranslateModule from ngx-translate library and I have 40+ pages.
I ended up not needing this and resolved the problem with either a few laze load pageModule or deepLinker. It was failing previously when trying to setup either way due to the anchor tag having href=’#’ in them and causing either to throw an error saying
Uncaught (in promise): invalid views to insert