I\'m trying to test an overlay directive that loads a popover below inputs when their entries are invalid. The first step I\'m trying to accomplish is seeing if the function