made social widgets using directives