Angular directive tests