You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
function(scope,element,attrs){element.on('click',function(){scope.selected=true})scope.$on('$destroy',function(){element.off()// deregister all event handlers})}
By the way for more information about memory leaks in AngularJS you could read here
Activity