I am following the Meteor + Angular2 tutorial to create a test project (for learning purposes, and eventually start something real).
But I'd like to have the app redirect unauthenticated users to a /login
page instead of what's described in the tutorial (i.e. restrict resources to authenticated users). Basically, unauthenticated users should not even be able to view the application and always be redirected to a login form. Just like Facebook, for example.
How do I do that?