add example for active directive