Added link function for the product directive.