Angular and rails