bind with the directive