An example of how to combine angular and rails with JWT authentication