I'm building a simple web site where I'd like to let users log in using Facebook, and then show a page with customized items based on whether or not they're logged in. ie if not logged it, it shows some info, but if logged in, it shows other info based on their user information.
I'm using the passportjs Facebook module, Express, and Angular. I believe I have passport implemented correctly, but don't know 1) how I should be checking if a user is logged in, and 2) best practice for showing views based on the user state using Angular & Express. I've looked at an example here, but don't think this is what I should be doing using Angular (https://github.com/jaredhanson/passport-facebook)
Thanks!