SG test with Rails and Angular