Here's rails 4.1 and angular boilerplate code.  Replete with sign up/sign in modal and some nifty validation.