Domanda di colloquio di Cognizant

Q. How can you create a custom directive? What is structure direvtive?