I have a welcomeController first module which returns index.html. I want to create a second module which will be another html page like contact or about us. I want the second module to be able independently work without the first module (ex: it is as if developer is working on a separate module so it'll have code coverage and unit tests). But I also should be able to create a combined app which includes both first module and second module.
How can I make welcomeController return contact page or about us page from second module but if second module isn't ready or accessible then first module should just compile without any errors.
I can create another module but I'm not sure how I can make this work together.