Cognizant Interview Question

How many types of user defined directive in angular js