Hi,
I am trying to attach a number to the node of the tree based on the condition. So i am using a template to do the condition checking
private counttemplate: string = "{{if ${c} != \"0\" && ${c} != \"\"}}${title}<span style=\"font-weight:bold;color:#556B2F\">${c}</span>{{else}}${title}{{/if}}'";
seems like the igtree doesnt like this. but if i take of the condition checking and just do ${title}<span style=\"font-weight:bold;color:#556B2F\">${c}</span>
it works.
Please let me know how to make the templating work with igtree with angular 2 framework.
Hi Mike,
I tried the templating in angular app with igTree and it seems fine.
I used similar condition template and I'm sending my sample back to you.
Please review it and let me know if you need further assistance.
Hi i did try to download the sample project and do a npm install one it it seems like the ignite ui doesnt get pulled and if i do a npm install igniteui-angular2 to get the libarary its doesnt transpile it to js for me to use.
can you please review the project setting and send it back to me.
s