Mark Wong
Posts: 0
Joined: Sat Feb 14, 2015 7:47 am

AngularJS - Closing Modal

Thank you! Problem solved :D

Niek Oost
Posts: 0
Joined: Tue Sep 12, 2017 11:12 am

AngularJS - Closing Modal

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.

Zhivko Zhelev
Posts: 0
Joined: Tue May 31, 2016 6:59 am

AngularJS - Closing Modal

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

Return to “Issues”