Working on an app that has a Rails 5.0 API backend, and an Angular2 front-end, but the Angular app is so large, I can't have it load whenever someone lands on the app's home page (/) since the homepage is just information about the app and a call-to-action to sign-up.
Is there a way to have the frontpage (/), sign-up page (/sign-up), and sign-in page (/sign-in) be static HTML so they load fast, and the angular app doesn't load immediately, then, once the user has signed up or signed in, they are redirected to the Angular app?
I'm wondering where do I put the static pages? In the /public folder of the rails API, or is there a place in the Angular app where I can store a static page like this, without the whole Angular app loading when you go to that page?