Moved userappModule to the outer scope