So an ionic popup has a number of different components, such as popup-title, popup-head, popup-body, etc, etc.
What I'm trying to do is dismiss the notification on both the click of the popup-head element and on anywhere outside the popup, but I can't seem to figure out how.
I'm capable of overriding the CSS for both, the background can be overridden by styling .popup-container, but I have no clue as to how to add an ng-click to them.
Any help appreciated.