Can't set content dynamically

Hi,
I am trying to set template’s content dynamically inside of a carousel.
See snippet: http://webix.com/snippet/13a0152e.
However getting error node is null.
According to documentation I can set Html Node or Id: http://docs.webix.com/api__ui.template_setcontent.html

Please advise.

Thank you,
Alexander

You need to provide valid HTML node for setContent
http://webix.com/snippet/42960b39

In original code it was an Angular’s wrapper, not a node. And result of append is the parent tag, not the newly created one.