Running one-page app with rails powered by angular at the front-end