Page 1 of 1

Refreshing ionic modal pages

Posted: Thu Feb 25, 2016 3:00 pm
by Pasteur Miranda

Hi,

The app has a modal page that contains a list of items. When I click one of the items, is shown 3 options, one of them is to delete that item. If I choose to delete the item, I would like, after deletion, to have the list refreshed, not showing the deleted item. How can I refresh the modal page?

Thanks.


Refreshing ionic modal pages

Posted: Thu Feb 25, 2016 8:05 pm
by Serhii Kulibaba

Hello,

Could you clarify, how do you set these items and how do you delete them?

If you use ng-repeat for them and delete it from the scope variable, AngularJS automatically deletes it


Refreshing ionic modal pages

Posted: Fri Feb 26, 2016 2:37 pm
by Pasteur Miranda

Hi, Sergiy. I solved the problem showing the modal page again. It works as a refresh.

Thank you