add angular js rails ressource, then use it