Template Rails/Angular app with Devise authentication