I'm working on a single page app and I wonder how I should manage the transition from the landing to the home.
Both views have a very different layout. The landing allows the user to register or log (exactly like twitter or facebook landing pages). The home displays the content of my website and the information about the logged in user.
What is the best way to handle this with angular? Do I make two different angular apps (one for landing and one for home)? Or only one? I'm planning to use ui-router. Once the user is connected and has checked "Remember me", he shouldnt be able to go back to the landing, and will always be redirected to the Home page ( except if he disconnects, of course ).
Thank you