added jquery. using angular-ui to catch blur event.