Amogh Talpallikar Amogh Talpallikar - 9 days ago 5
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

try like this

$scope.modal.hide();
Comments