Angular Directive for the privacy control in Online