testing rails with angular js