Providing a way for the directive to pass through data to the list query function