Angular store with rails api.