Migrated renderAppShell() from router to app module
Configured Single Page App request filtering: serving app shell HTML for non JSON (API) requests