Express middleware for configuring a frontend application (e.g. angular) using mimosa