replaced $resource.get with .query.

This is because apparently restful practices dictate get is for objects
and query for lists of bojects.