test app with angular js and ruby