Angular JS and Rails testing