Search found 1 match

Go to advanced search

by Niek Oost
Tue Sep 12, 2017 11:12 am
Forum: Issues
Topic: AngularJS - Closing Modal
Replies: 12
Views: 4462
 
Jump to post

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.

Go to advanced search