I am trying to use popup in a form to let the user select an article from a list.
I have a button on my form (“Select Articles”) which opens a popup which contains a list.
I can get the list populated, I can make every item clickable, but the popup does not close after clicking on an item. The onTap function is only defined for buttons, but I want to close the popup as soon as the user clicks on an item of my ng-repeat list. Do you guys know a way to achieve that?
Note: I do not want to set a timeout, because I need to get an active action from the user (selecting an article).