I was trying to implement a nested tree structure in AngularJS. It consists of nodes which all get managed by the same controller type. You can find an example here: http://jsfiddle.net/Yfmdy/2/
My problem is, that everytime a child node gets deleted and its parent's "children" array gets modified, all parents lose their ng-mouseenter and ng-mouseleave behaviors.
Has anyone an idea what to do about that? Have I missed something?
That is a bug: https://github.com/angular/angular.js/issues/963
$browser.defer to emit
Set current element css to
display: none; and force execute
Example here: http://jsfiddle.net/Ticore/Yfmdy/11/
Pure js example here http://jsfiddle.net/GbuNn/6/