Link user list to the backend using $resource and ngTable