Cognizant interview question

Write the syntax for Angular JS directive with dependencies in place?