I am using angularjs for my front-end. I have created some popover windows. I want the popover window to be disappear when I click somewhere in the browser window. How can I do that using angularjs. Thanks in advance
Asked
Active
Viewed 226 times
0
-
How have you created popover windows? Have you used directives? – Chandermani May 20 '13 at 07:39
-
see: http://stackoverflow.com/questions/1675893/jquery-close-dialog-on-click-anywhere Where to put this code? In link function of the directive! – Tosh May 20 '13 at 08:21
-
Sorry for this non-clear content in the question. I am using angular-strap to create this popover. We don't need any directives for that. It's there as in-built feature. I want to hide that popover. – anilCSE May 21 '13 at 09:05