Angular directive that evaluates when an inputs selected text is changed