show a $resource object on the page, but it's an array