Template for angular front-end, rails-api back end, user authentication