binding the directive to be reusable across different webpages