add directive to directive