Amogh Talpallikar Amogh Talpallikar - 11 months ago 75
AngularJS Question

How to hide a ionic modal that shows a list after selecting a value?

I have a ion-view that shows a list of items in a modal. I want to dismiss the modal once I select an item. I have associated the modal template with a controller using an ng-controller attribute.

How do I dismiss the modal form inside the controller where I will be getting click events ?

Answer Source

try like this