added bind option to directives