destroy directive if not serving url