Page 2 of 2

AngularJS - Closing Modal

Posted: Wed Dec 23, 2015 11:50 am
by Mark Wong

Thank you! Problem solved :D


AngularJS - Closing Modal

Posted: Tue Sep 12, 2017 11:12 am
by Niek Oost

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.


AngularJS - Closing Modal

Posted: Tue Oct 03, 2017 8:11 am
by Zhivko Zhelev

Thank you very much for sharing this! It's much easier like this!