Angular filter to reverse input text