Create an Angular directive