Hi Sander,

I do not know where you see this.

The replacement of elements occurs only during the loading of the directive.
There is no such behavior when you click on one of the list element.

As for the replacement itself, the string is built manually and then goes
through :
var out = $compile(out)($scope);
Is there something missing there ? is it not legit ?

This is happening only once, during the loading of the directive. But there
is no remove, add, remove, add.
I added a log to prove that : http://plnkr.co/edit/1G8dUy?p=preview

-olivier




On Wed, Jan 22, 2014 at 4:57 PM, Sander Elias <[email protected]> wrote:

> Hi Olivier,
>
> You are right, if you click on an element, that you removed from the dom,
> then added, then removed again, and then added again, somehow the browser
> lost track of its parent!
> I'm not sure where to even begin on this one! I'm not even sure if it's an
> angular or a browser issue.
>
> Regards
> Sander
>
>  --
> You received this message because you are subscribed to the Google Groups
> "AngularJS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/angular.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to