When it comes to an ionic popup, there are various components such as popup-title, popup-head, popup-body, and more.
My goal is to dismiss the notification either by clicking on the popup-head element or anywhere outside the popup. However, I'm struggling to find a way to achieve this.
I can customize the background with CSS using .popup-container, but I'm unsure how to add an ng-click function to these elements.
Any assistance would be greatly appreciated.