Cognizant interview question

How many types of user defined directive in angular js