What I am trying to do: A custom filterable dropdown menu. The list item gets dropdown on-focus on input element . The options are selectable and it's text should appear in input field when clicked. The list view should go away when input not focused.
Problem: The list item click event couldn't be triggered as list view gets removed on blur( on-blur="bool=hide").
Demo:http://jsfiddle.net/Dreamerpro/3s5c62Lx/2/
PS: I can solve using jquery but since I am learning Angular so I want to do it in angular way and sorry for my English :P