How can I remove an attribute (or at least its value) using Angular? In specific, lets say I have an ng-click
event. I want this even to only fire once and I think the easiest way to do this would be to have a 'self-destruct' in the ng-click event. Something along the lines of
elementClicked = function(){
//do work
element.ngClick=null;
}