An implementation of auth using angular routes and JSON Web Token.