Trigger tap on popup button

I’ll use dangeross’ example: http://codepen.io/dangeross/pen/wvAjJ/
Open modal and then Add popup.
How to trigger ok button after selecting option? I don’t need two taps.

I thought that would be simple… However, it doesn’t seem the Popup has a public interface for closing - just showing. The buttons control them.

Here was my attempt at putting an ng-click on the selection items : http://codepen.io/calendee/pen/Hqrvz

If you really need that feature, maybe open a feature request. Perhaps someone else has a better idea?

Issue created: https://github.com/driftyco/ionic/issues/854