AngularJS - Closing Modal
Posted: Wed Dec 23, 2015 11:50 am
Thank you! Problem solved
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
Thank you! Problem solved
After some testing, I found out that currently '$scope.$close()' just works.
So a button is bound to the activateService() function that I have defined on the SCOPE of the modal. That function then has access to $scope.$close() which could be called when a asynchronous service call has returned.
Thank you very much for sharing this! It's much easier like this!