Fix FF issue - use angular.element.text