create directives for the heart & comment

create directives for the heart & comment and use them in the profile
page and the product page