Angular directive for easily cycling words in a span