modified stream to be a directive instead of controller, to allow post-DOM-rendering actions during link()