Returning object in table scroll directive.