Does that single root element maybe have a directive on it itself that adds 
more dom elements?

Besides that: Getting rid of "replace: true" is probably a good idea 
anyway, because AFAIK that option will no longer be there in Angular 2.0.



On Tuesday, June 17, 2014 11:15:33 AM UTC+2, Julian Jelfs wrote:
>
> How is it possible to get a tplrt error on a directive that has an inline 
> template that clearly has a single root element? 
>
> I am seeing this error a lot though I cannot reproduce it in any 
> development or test environment. It seems like it must be some sort of 
> angular bug?
>
> If I change the directive from replace : true to replace : false, this 
> error stops happening. I don't mind this as a work around as long as I am 
> not just masking some problem that I actually need to resolve. 
>
> Is there any explanation for this?
>
> Thanks, 
>
> Julian Jelfs. 
>

-- 
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/d/optout.

Reply via email to