So I posted this over at stack overflow: http://stackoverflow.com/questions/22939584/angularjs-compiling-template-throws-errors
When I have data I want to display in a directive that is passed as a parameter like so: http://plnkr.co/edit/AZe8iD6FvMTFwMpRWn8i?p=preview (using a method here but same thing happens if it is a passed variable) I get the error: Cannot read property 'childNodes' of undefined Now if I use ngBindHtml instead: <http://plnkr.co/edit/UyTITrttEcCg0QNIALyV?p=preview> http://plnkr.co/edit/UyTITrttEcCg0QNIALyV?p=preview The code does not produce an error. I am not sure why using ngBindHtml does not produce and error and the other way does and I am just trying to figure out why. -- 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.
